Move some logic in Nene and Harrier to Java library.

This will:
1) Allow for future work to create host-side functionality (e.g.
parameterization for remaining host-side tests)
2) Allow for compile-time logic based on parameterization (e.g.
generating a mapping file to optimise atest runs)

Test: atest NeneTest
Test: atest HarrierTest
Test: atest CtsDevicePolicyTestCases
Bug: 194368132
Change-Id: I12d058c5d50ed0b0a47d2c11421dc0bdbda14c72
153 files changed