Convert run-test-jar from bash to python

This is a naive 1:1 conversion with intent to create minimal diff.
The code does not follow python conventions, idioms or formatting.
(this is left for follow up clean-up CLs)

I have tested it by recording and comparing the commands and their
environment executed by both version. They match.

Test: test.py -r --all-target --all-run --all-gc
Change-Id: Ie01c4a53618a425acb5e8708f172f2379da3e343
6 files changed