android: Make run_tests.py work on Android versions before 7.0 (N)
android: Make run_tests.py work on Android versions before 7.0 (N)

I took yesterday’s work and tried using it to run tests on a Nexus 4
running 5.1.1 (L), and absolutely nothing worked. The highlights:

 - There’s no /system/bin/mktemp.
 - There’s no /system/bin/env.
 - “adb shell” doesn’t know what the command’s exit status was.

While I’m in here, I’ll also make colored gtest output work, although it
won’t work on the normal Windows console which doesn’t understand ANSI
color codes. (It might work in Cygwin?)

Plus some bonus bloopers:
 - I was trying to catch an exception that isn’t even defined in Python
   2!
 - The part of the script that tells you what test it’s about to run had
   fallen into a conditional block, preventing it from being shown
   except when running end_to_end_test.py.

Bug: crashpad:30
Change-Id: I98fc410f90a2b4e91cb3cacb6a8decf2a8c2252b
Reviewed-on: https://chromium-review.googlesource.com/818125
Commit-Queue: Mark Mentovai <f1b5a91d4d6ad523f2610114591c007e75d15084@chromium.org>
Reviewed-by: Scott Graham <e134406e1863f3b48b0795831afac5c0595efb36@chromium.org>

chromium/crashpad,chromium/crashpad,chromium/crashpad