added preliminary support for onResourceError
expose phantomjs childprocess as ._phantom
omitting testrender