change XML format to accomodate both CTS and PTS

- example:
<Test name="testMemcpyK004" result="pass" starttime="Tue Nov 27 17:03:09 PST 2012" endtime="Tue Nov 27 17:03:09 PST 2012">
  <Summary message = "screen copies per sec" scoretype="higherBetter" unit="fps">23938.82978723404</Summary>
  <Details>
    <ValueArray source=”com.android.pts.dram.BandwidthTest#doRunMemcpy:98” message=”measure1” unit="ms" scoretype="higherBetter">
      <Value>0.0</Value>
      <Value>0.1</Value>
    </ValueArray>
  </Details>
</Test>

- data pass from test is in more compressed format (still text) and XML
  generator parses the result and expand it into XML format.
- The change involved API change for report, and thus all tests are affected.
- For CTS, the output will be the same as before.
- For PTS, when a test fails, there will be failure information under
  FailedScene tag ( = same as CTS).
- For PTS, when a test passes, it will have Summary and Details tags.

Change-Id: Ie0ec3aa24962eabad87a4032efc71e887b9a3eae
17 files changed