Inject custom stderr handling

This expands on the previous PR, and exposes the handler for stderr. I was getting yet more noisy messages that weren't helpful. Hard-coding all of them doesn't seem like the responsibility of this project, so by exposing the handler that responsibility is pushed down to the project using phantomjs-node.