Added custom entity support for EntityDeathEvent. Fixes #519, #1247, #1293

This commit fixes issues with certain custom entities not dropping XP
caused by overriding dropFewItems. It also makes sure EntityDeathEvent is
fired with the proper loot information to support plugins.