Refactored player death item drops. Fixes #877

* Added debug for TileEntity creation crashes.

The original CraftBukkit patch for EntityPlayerMP.onDeath broke
compatibility with certain Forge mods such as MB: BattleGear 2.
To fix this issue, I now call the proper inventory.dropAllItems() method
and send the captured drops to plugins in PlayerDeathEvent.