Fix double overflow/underflow calculations with explosions. Fixes BUKKIT-1865
Mark entities as invalid when they get despawned. Addresses BUKKIT-810
Fix client crash on InventoryClick cancel. Fixes BUKKIT-1841
Fix deprecated spawnCreature. Fixes BUKKIT-1880
Clean entity.damage functions. Fixes BUKKIT-1822
Treat ComplexParts as proxies for setLastDamageCause. Fixes BUKKIT-1821
Apply setLastDamageCause after processing events and the event has not been canceled. Fixes BUKKIT-1881

This allows previous causes to be available during the event, as well as making the damage cause a valid one. If EntityDamageEvent is canceled, then it's not the last DamageCause.

Also prevents setting DamageCause involuntarily through construction.
Implement getMotd, and reload the motd. Adds BUKKIT-1799
Factor invulnerableTicks into getNoDamageTicks. Fixes BUKKIT-1324
[Bleeding] Include chunk biome data for refresh chunk. Fixes BUKKIT-1166
Reuse ItemInWorldManager, and stop applying ability changes. Fixes BUKKIT-1811
Implement getExpToLevel method. Fixes BUKKIT-1906
Add missing setLastDamageCause. Thanks MonsieurApple
Add remaining missing setLastDamageCause's
Cleaned up CraftBukkit comments in NMS.

Added newlines at the end of files
Fixed improper line endings on some files
Matched start - end comments
Added some missing comments for diffs
Fixed syntax on some spots
Minimized some diff
Removed some no longer used files
Added comment on some required files with no changes
Fixed imports of items used once
Added imports for items used more than once
Detect and disconnect 1.3 clients properly. Fixes BUKKIT-1952
Updated version to 1.2.5-R5.0 in pom.xml for RB.
Updated version to 1.2.5-R5.1-SNAPSHOT for development towards next release.
Update CraftBukkit to Minecraft 1.3.1
Add test for WorldType's