Dispatching an event when an instance is killed.
Fix #379 - someone can now bind a function on the 'kill' event in a plugin in order to die gracefully.