Fix includes, unbreaking PyAuto functional and improving style

* Ensure "common" is imported whenever "autotest_lib.client" is used.
* Remove unnecessary "autotest_lib.client.cros" prefix from includes.
* Remove hashbang lines from files that cannot be run from the
  command line anyway.
* Improve autotest style guide conformance:
-> Reorder includes into groups and alphabetically within these.
-> Lump together includes in each group.

BUG=chromium-os:29150
TEST=desktopui_PyAutoFunctionalTests.CHROMEOS_POLICY
TEST=desktopui_PyAutoFunctionalTests.FULL, suite:bvt

Change-Id: I87479ed729bca38888e4bcf250cf7997406387e5
Reviewed-on: https://gerrit.chromium.org/gerrit/19886
Commit-Ready: Bartosz Fabianowski <bartfab@chromium.org>
Reviewed-by: Bartosz Fabianowski <bartfab@chromium.org>
Tested-by: Bartosz Fabianowski <bartfab@chromium.org>
diff --git a/client/cros/dns_server.py b/client/cros/dns_server.py
index 4cbbdea..90c2f9a 100644
--- a/client/cros/dns_server.py
+++ b/client/cros/dns_server.py
@@ -1,8 +1,10 @@
-# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
+# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
 import logging, threading, time
+
+import common
 from autotest_lib.client.bin import utils
 
 class LocalDns(object):