propagate mocha-phantomjs exit codes properly

Make sure that the exit code is non-zero when mochaphantomjs fails.