Throw EntityTargetEvent(s) and fix event cancellation.

Commit 4c924ac

This will fix the issue with slimes not triggering the EntityTargetEvent. I realize that they may not target in the same way as other creatures but I doubt that it will cause any potential issues by having this in CraftBukkit.

This may need to be declined due to it spamming the event but I'm sure the spamming of it could be easily fixed.

Reference;
https://bukkit.atlassian.net/browse/BUKKIT-1408
https://bukkit.atlassian.net/browse/BUKKIT-2521

-

Commit 5a5bcaf

This may or may not be a fix although a lot of people are expecting the setCancelled(boolean) method to have stopped the entity from targeting the player all together although right now it is simply stopping the 'target' variable from being set.

This also may need to be declined although I personally think that it would be a lot simpler to just set the target to null if the event is cancelled. The current way that it works, entities may still be targeted even when the plugin doesn't want them to be simply because they were previously targeted.