Add onCallback support

PhantomJS exposes window.callPhantom() in the client to allow communication back to the controlling process.  Add support for this callback.