Make PhantomJS not have to poll the page for tests finishing. Also cleaning up console output.