Enhance CTS-Verifier to record whether the test item is automated.

- Record whether is automated of each execution for a test item.
- Remove unused function and it's unit test(TestResultHistory.serialize)

Bug: 158059049
Test: Unit Test: cts-tradefed run cts-unit-tests
                 cts-tradefed run cts -m CtsMonkeyTestCases
      Manual Test: Build cts-v and verify it works as intended
         (including a new attribute "isAutomated" in existing tag <Run>)
Change-Id: Iaf51dd154a8037b7114267200986d33abb0eb27b
Merged-In: Iaf51dd154a8037b7114267200986d33abb0eb27b
4 files changed
tree: a46947ff4e78276abaa06871c6ed51f5820a27fb
  1. common/
  2. tools/
  3. Android.mk
  4. test_defs.sh