Added wait_for_emulator

- To be used only for Travis
Updated build.gradle to newer deps
Updated Travis