Port UiAutomator CTS test to the unbundled branch.

Copied test from cts/tests/uiautomator. Modified the code to use the
instrumentation based uiautomator rather than shell based.

Change-Id: I8db4ac24d64813aa58fda42abff7b81bcedf70f3
53 files changed