Run emulator from the remote server

These are required changes for running the emulator from out remote http server.
I will issue another PR later in which the "image" argument will be used either to configure android emulator's avd image (hence the name) or iOS Simulator's default device.