Updated remapper (fixes #268).
Prevent clients logging in multiple times (fixes #150).

Also adds (Async)PlayerPreLoginEvent support.
Provide hostname in PlayerLoginEvent.
Implemented AsyncPlayerChatEvent (fixes #103).
Tidied up EventFactory and its uses.
Made some utility classes final.
Revamped place and dig event handling.

Throw BlockBreakEvents in creative (fixes #273).
Fix BlockPlaceEvents returning AIR (fixes #271).
Prevent block break with swords in creative (fixes #214).
Simplified dig and place logic slightly.
Added basic potion effect definitions (fixes #295).
Added checkstyle and fixed code to obey it (thanks @meggawatts).
Implements 1.8 codecs (0x41 up to 0x49). Also implemented +1 trick in GlowProtocol.

Implement ServerDifficulty codec.
Implement CombatEvent codec.
Add 0x43 (Camera).
Packet 0x48 codec added.
Packet 0x44 added (WorldBorder)
Packet 0x45 added. (Title). Some formatting.
Add 0x49 (Entity update NBT). Using varLong now in WorldBorder.

Signed-off-by: William Lebel <lebelwilliam@gmail.com>
start of tests

Signed-off-by: William Lebel <lebelwilliam@gmail.com>
Most of the LoginProtocol tested. Added equals / hashCode to those Login packets missing it.
Make BaseProtocolTest abstract so it isn't tested + cleanup.
Fixed JsonMessage equals. Added StatusProtocolTest.
Part of PlayProtocolTest (Wont work)
More work on unit tests