Fix up the importing in server/hosts to not be so fragile. Importing
utils from these modules was just a bad idea (it depends on the server
dir being in sys.path) and the circular references between some of the
modules are making things unnecessarily fragile.

The main changes are:
    - converted all of the imports from the server directory and from
      the common lib into absolute imports (i.e. from autotest_lib.*)
    - moved the RemoteHost definition into a remote.py file, so that
      SiteHost can subclass Host without introducing a circular
      dependency between base_classes and site_host

Signed-off-by: John Admanski <jadmanski@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1417 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/server/autoserv b/server/autoserv
index 4f32495..a0915c4 100755
--- a/server/autoserv
+++ b/server/autoserv
@@ -10,10 +10,10 @@
 mbligh@google.com (Martin J. Bligh)
 """
 
-from common.check_version import check_python_version
-check_python_version()
+import sys, os, re, traceback, signal
 
-import sys, os, re, server_job, hosts.site_host, utils, traceback, signal
+import common
+from autotest_lib.server import server_job, utils
 
 
 # send stdin to /dev/null