futher split of UI automator code base and refactoring

* library/core-src should use only public framework APIs and be
  agnostic about shell based or instrumentation based test
  runner plumbings
* Functions inside InteractionController that uses private APIs
  are now delegated through UiAutomatorBridge
* ShellUiAutomatorBridge and OnDeviceUiAutomatorBridge are
  refactored accordingly to call WindowManager and PowerManager,
  and moved into shell specific and instrumentation specific
  locations accordingly

Bug: 8112323

Change-Id: I79d8a0014e785af6d8d702473b1e568eeac6e652
10 files changed