Added entity death event

An event that can be triggered when an entity dies.
Handling hero death via events

Also got rid of the free event handler stub functions and replaced with
member functions.