refactor(runner): split cli into cli and runner

Split the cli.js file into a file which actually ony handles
command line processing and a runner.js file which handles
starting up selenium, running the tests, interacting with
minijasminenode, and test shutdown. Closes #17
fix(testapp): make synchromization via function slightly faster

The synchronization function which runs for the testapp should be
slightly faster.