Log the browser's stdout and stderr

Useful for debugging, Phantom in particular prints errors to stdout. Will submit a PR.