Method and system of using networked virtual machines of mobile devices in the cloud to provide mobile applications and services