[toolchain-utils] Fix remaining lint errors in toolchain-utils.

In addition to fixing the lint errors, this also fixes the Python
formatting issues (ran tc_pyformat on nearly all the files).

BUG=chromium:570450
TEST=Ran all crosperf & bisect tool unit tests.
     Ran afe_lock_machine.py (check machine status)
     Ran full crosperf test (octane, speedometer, BootPerf) on alex.

Change-Id: Ic86f9192801ac67769f3de30f1c5f0d203ce0831
Reviewed-on: https://chromium-review.googlesource.com/471886
Commit-Ready: Caroline Tice <cmtice@chromium.org>
Tested-by: Caroline Tice <cmtice@chromium.org>
Reviewed-by: Manoj Gupta <manojgupta@chromium.org>
diff --git a/test_toolchains.py b/test_toolchains.py
index ecae6f4..8684653 100755
--- a/test_toolchains.py
+++ b/test_toolchains.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python2
+#!/usr/bin/env python2
 
 # Script to test different toolchains against ChromeOS benchmarks.
 """Toolchain team nightly performance test script (local builds)."""
@@ -11,7 +11,6 @@
 import sys
 import build_chromeos
 import setup_chromeos
-import time
 from cros_utils import command_executer
 from cros_utils import misc
 from cros_utils import logger