Added (get|set)_max_health and entity_death, updated player_death.

Yes, it uses a lot of the same code as player_death, which is because
that was made without using its own event. Next time effort is put
toward this, player_death can finally make use of its unique data.