[moblab] Copying mobmonitor code into platform/moblab

Copying code out of chromite, project-moblab into a central
place to make development and maintenance of mobmonitor easier
going forward. Removing all dependencies to chromite.

As a part of the move, re-implementing a few chromite util
functions and removing mobmoncli, rpc: they are not needed
for our use case.

TEST=Rewrote unit tests to be chromite independent and continue
to provide test coverage. Updated ebuild files and created a
build to do manual testing on local device.

Change-Id: Iefc0016c5874188d901f4e6591c10575fbe07a8b
Reviewed-on: https://chromium-review.googlesource.com/933098
Commit-Ready: Matt Mallett <mattmallett@chromium.org>
Tested-by: Matt Mallett <mattmallett@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
38 files changed
tree: 5c8e04e942daf6b45c5cc31129c87e049afcb634
  2. partner_ui/
  3. scripts/
  4. src/