Allow TestON to be run from anywhere.

Use absolute path instead of current working path
Clean up some error handling on startup

Still to be done:
Cleanup other usages of os.getcwd()
Change-Id: I014f4fec29a85edd1816127d3062b595baadcab5
diff --git a/TestON/bin/cli.py b/TestON/bin/cli.py
index b515486..ffe9d67 100755
--- a/TestON/bin/cli.py
+++ b/TestON/bin/cli.py
@@ -472,7 +472,8 @@
         converter = updatedriver.UpdateDriver()
 
         if config == '':
-            path = re.sub("(bin)$", "", os.getcwd())
+            location = os.path.abspath( os.path.dirname( __file__ ) )
+            path = re.sub( "(bin)$", "", location )
             config = path + "/config/updatedriver.cfg"
             configDict = converter.configparser(config)