Handling exit event of phantom child process in order to stop server after Phantom crashes.
Expose phantom.on() method to the phantom proxy for greater flexibility.
Merge pull request #36 from MrOrz/contrib

Handling PhantomJS crash.