Added facilities to inject base-level UI operations with more advanced synchronization
than android Instrumentation class does. This allows us to fetch and propagate unhandled
exceptions, occurring in application under test and causing a crash, to the local end.

Signed-off-by: Simon Stewart <simons@fb.com>