Better handling of phantom crashes

Previous code was checking for `code !== 0 && signal === null`. When phantomjs crash on my machine (debian testing, phantom 1.8.2), `code` is `0` and `signal` is `SIGSEGV`.

New code is more pragmatic. If phantom exit for any reason, we need to shutdown the server.