Fixed ConcurrentModification bug in CachedChunkHandler
Prepared test for cached chunk system
Fixed chunk count bug
Added distributor to attach and detach handlers automatically