Adds script to wait for emulator (so that tests run!)

Trying to fix:

test:
     [echo] Running tests ...
     [exec] Error type 2
     [exec] android.util.AndroidException: Can't connect to activity
manager; is the system running?