Add script to test wait for emulator loading

By Ralf Kistner. Shamelessly taken from https://github.com/embarkmobile/android-maven-example/blob/master/wait_for_emulator