Tests for ActivityManager#isUserAMonkey

Bug 5882598

- Add a host side test that installs an activity that logs whether or
  not the user is a monkey. The host executes "adb shell monkey" and
  the test then parses the lines looking for the log line printed out
  by the activity.

- Creates a new top level CTS directory called "hostsidetests" to put
  all host side tests under rather than putting it under "tests"
  since that directory is more for the com.android.cts.stub package
  and I would like to avoid cluttering that directory as we add more
  host side tests.

Change-Id: I9d7b571b0244867e84bdff14418a544c713578e1
9 files changed