systrace: add support for older platform versions.

This change re-adds the old Systrace script from before JB MR2 and exec's it
from systrace.py when it detects that the device's SDK-version is less than 18.
This change also modifies the pre-JB-MR2 script to generate HTML that is
compatible with the latest script.js and style.css.

Change-Id: I29c3327e95f8fd0a4aab730845abac84e66848ef
systrace: remove the use of a Python 2.7 function

Change-Id: Ic0f4890d450541736f5909273cabcbad2ba3e3fe
Reconcile with jb-mr2-release - do not merge

Change-Id: I7b13f5e954578c6cbafa6acd1510c1d0f257661e
am 0deb7845: (-s ours) Reconcile with jb-mr2-release - do not merge

* commit '0deb7845678f5ed05abf8238121f12bae32848b9':
  systrace: remove the use of a Python 2.7 function
  systrace: add support for older platform versions.
systrace: update to trace-viewer rev 740

Change-Id: I56fd37959b15653100a6add274c066c4359d55f0
Extract prefix and suffix html blocks to separate files

The Monitor tool in SDK has a duplicate copy of the prefix and suffix
html blocks, which necessitates changes in both places whenever the
prefix block changes. Moving the html out of the script allows
Monitor to reuse the same content.

Change-Id: I012df9ef3423b546a2ced213bee1ccbba9d4c9cc
systrace: update to trace-viewer rev 775

Change-Id: I6e2a15a66f24dd5603a943ad8b177a97dfefd2a7
Fix legacy script to pick up html prefix from external file

Change-Id: Id67f6a502b7688fb39ecdb70546eb3049111fdd2
Merge "Fix legacy script to pick up html prefix from external file"
am 874f33ce: Extract prefix and suffix html blocks to separate files DO NOT MERGE

* commit '874f33ce32d311ec80c149afd11d9ae17fee68f8':
  Extract prefix and suffix html blocks to separate files DO NOT MERGE
am ad0c59f8: (-s ours) am 874f33ce: Extract prefix and suffix html blocks to separate files DO NOT MERGE

* commit 'ad0c59f8bd5480d901fa2e881b89bf86141ea73b':
  Extract prefix and suffix html blocks to separate files DO NOT MERGE
Merge tag 'tags/android-4.4_r1' into kitkat-staging

Android 4.4 Release 1.0