Upstream Autotest merge.

As titled, a merge up to 93fc426ca133e775eb495f34d138fc57d92fb55e.

- Removes a bunch of deprecated code.
- Moves several private utilities into the private repo.
- Couple changes ported upstream and resynced.

BUG=None
TEST=In progress... will spin up new Autotest server and use
run_remote_tests for bvt, regression, smoke.

Change-Id: Id3e2ad529bb7b05f148e5d98aea46bb9ea828200
Reviewed-on: http://gerrit.chromium.org/gerrit/3350
Tested-by: Dale Curtis <[email protected]>
Reviewed-by: Dale Curtis <[email protected]>
diff --git a/server/test.py b/server/test.py
index a242b49..8fdba9d7 100644
--- a/server/test.py
+++ b/server/test.py
@@ -90,8 +90,9 @@
             self.host = hosts.create_host(self.job.machines[0],
                                           auto_monitor=False)
             try:
+                tmp_dir = self.host.get_tmp_dir(parent="/tmp/sysinfo")
                 self.autotest = autotest.Autotest(self.host)
-                self.autotest.install()
+                self.autotest.install(autodir=tmp_dir)
                 self.outputdir = self.host.get_tmp_dir()
             except:
                 # if installation fails roll back the host