Added creature_spawn event, added a prefilter to PIE, fixed an NPE with...

...target_player, and fixed some failing tests, as well as improved the docs for entity_damage.