Made the phantom-runner a more generic server-runner.
Decoupled phantom-specific code from generic stuff in index.js.
added a few tests
optionally log errors to logfile for testing
added timeout test
added invalid executable test