Indian companies racing to build mobile apps are turning to readymade code available from foreign sources, making the country one of the fastest-growing markets for CodeCanyon, a code marketplace.