Respect requested process exit codes in onExit

At the moment `process.exit(1)` called elsewhere results in jasmine exiting with `0`. This corrects that.