Modify au_test_harness and ctest to work from new location.

I'm leaving behind symlink in src/scripts/bin for these.  I verified that the builder code that calls those symlinks still works correctly with these new paths.  This required eliminating all references to __file__.

I have also removed dead code from ctest.  I verified that this code is no longer used at all.

Change-Id: I6fc01129b6381c972976d8d8abcb5ab29f55263d

BUG=chromium-os:11172
TEST=Ran both ctest and cros_au_test_harness with x86-mario and x86-generic
commands from buildbot scripts.

Review URL: http://codereview.chromium.org/6675015
diff --git a/lib/constants.py b/lib/constants.py
new file mode 100644
index 0000000..7111b0e
--- /dev/null
+++ b/lib/constants.py
@@ -0,0 +1,12 @@
+# Copyright (c) 2011 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 os
+
+_TEST_LIB_PATH = os.path.realpath(__file__)
+
+SOURCE_ROOT = os.path.join(
+                  os.path.dirname(_TEST_LIB_PATH), '..', '..', '..', '..')
+
+CROSUTILS_LIB_DIR = os.path.join(SOURCE_ROOT, 'src/scripts/lib')