Sketch of a 'dead' event

The dead event allows to catch the condition that the node event loop is
empty prior to exit, and react to this. Possible actions would be scheduling
more unit tests, or failing a test that hasn't called its completion callback,
or logging the fact that the event loop has unexpectedly died.