Rewrite PacketHandler + other packet code

Modular PacketHandling, based on:
http://www.minecraftforge.net/wiki/Advanced_Packet_Handling