Cleanup and commenting in TextureManager (especially loadTexturePack(...)), Renderer, LevelRenderer, and BlockMap.
Merge pull request #279 from umby24/master

CPE Announcement MessageType now disappears correctly, and key bindinds load correctly.
Fixed #266 Chunks now unload beyond render distance
Merge branch 'master' of github.com:andrewphorn/ClassiCube-Client
Updated client to support the latest source
Restored the original ExtAddEntity packet
Fixed all the remaining bugs
Final bug fixes >_>
FINAL FINAL FIX
Merge pull request #282 from fragmer/master

Cleanup and commenting in TextureManager, Renderer, LevelRenderer, and BlockMap.
Merge pull request #281 from Raynexx/master

ExtPlayerList implementation improvements
Fixed client freezing if LWJGL could not be found. An error dialog is now shown, and client then cleanly shuts down.
Added UnsatisfiedLinkError to list of throwables that Minecraft.run checks for, on initialization.
Added scrollable chat
Cleaned up CPE negotiation implementation, to decouple packet definitions from extension definitions.
Fixed the skin loading bug
Merge pull request #285 from Raynebow/master

Fixed the skin loading bug
Jonty800 is now a sheep like before
Texturepack selection page now allows more than 5 texturepacks
Reworked chunk update limiting and fog.

1. Max number of chunk updates per frame is determined dynamically/adaptively when vsync/framerate-limit is on. Number of updates is determined by measuring the approximate amount of time each update takes and the amount of time vsync wastes idling. Extra updates are done when there is enough idle time.
2. Added 2 new fog settings (SHORTER and FARTHER) and reworked the other settings. Previously fog distances were {8,32,128,512}. Now they are {8,16,32,64,128,256,512,1024}. Fog now starts further away from the camera, to prevent a washed-out look. "Render distance" label in settings changed to "View distance".

Signed-off-by: fragmer <me@matvei.org>