Add ready fn android platform.

- Use ready fn for waiting for running the tests.
Update calabash server.
Add query and wait fns.