Put damage modifiers in Functions for event. Fixes BUKKIT-5681
Handle uniform block ids greater than 127. Fixes BUKKIT-5686
Provide modifier functions to EntityDamageEvent. Fixes BUKKIT-5688
Don't confuse client with sound coordinates outside view distance.
Fix removal of items from Item Frames. Fixes BUKKIT-5736
Fix cancelling PlayerDropItemEvent. Fixes BUKKIT-3313

Up until this commit the PlayerDropItemEvent, if cancelled, would return
items to the first available slot in the inventory - which is clearly
undesirable as a player and plugin author to deal with.

This commit changes that by ensuring that the item is returned to where
it came from in the player's inventory. This still supports modifying the
drop from the player and will default to "first available slot" if the
item has changed since the event was fired. Other remaining behaviour of
the event is still in tact and has not been modified.
Use sensible AssertionError instead of ambiguous RuntimeException
Implement deprecated methods. Adds BUKKIT-5752
Make BlockPistonExtendEvent only fire once and cause BlockPistonEvent.setCancelled(true) to stop the action. Fixes BUKKIT-2287, BUKKIT-3523, and BUKKIT-3529