Fixed another compiler error
Moved all the common stuff to client and server
Fixed a lot of the synchronisation
Fixed TileEntityData and added time update packet