Register for UnhandledException event

For #2, when an unhandled exception is encountered, the exception is
sent to the parent and the child process terminated.
Merge pull request #11 from spanglerco/unhandled

Register for UnhandledException event