Fix starting of emulator when a physical device is connected as well

Revert to old code for checking whether the emulator is started

refs https://github.com/NativeScript/nativescript-cli/issues/116 https://github.com/NativeScript/nativescript-cli/issues/114
That would result in an endless wait if the emulator fails starting. Let's put an "attempt count" of a kind?