Re-factored for continuous integration support.
Updated saucelabs configuation.