Fix NPE when getting bed spawn location.
Updated version to 1.4.7-R1.0 in pom.xml for RB.
Updated version to 1.4.7-R1.1-SNAPSHOT for development towards next release.
Spigot
EMC POM changes
Revert mc version setting to 1.4.6 so 1.4.6 plugins still work
Remove CraftBukkit "Feature" of ItemStack's having infinite use.
Add 2 events for better control of mob spawning (Natural and Spawners)
Add PlayerUseItem Event so we can control when an item is consumed.
EMC Anvil Tweaks Make Items not have a repair cost increase due to Anvil usage. Repair only is 5 levels, combines is free renames.
Try old 1.4.5 dig speed algorithm for better results.
Load custom permissions before plugins
Entity Activation range check
Do not skip fireworks ever for ticking in loaded chunks. Thanks @mikeprimm
Timings improvements
ANSI color codes now reset text attributes. Fixes BUKKIT-3508

The client resets all formatting after a color code is received, but currently the ANSI codes do not, and so the console does not accurately reflect the appearance of the formatted text. Instead, the ANSI color codes are now set to reset all text attributes.
Wait to unload plugins until after everything is unloaded.
This is a combination of fixes of pull reqs for Portal changes BUKKIT-3541, BUKKIT-3555, BUKKIT-3559, BUKKIT-3542