Reworked the teleportation algorithm. It's now much cleaner and should always work. It can no longer hang the game indefintly.
Added config options for teleportRangeMin and teleportRangeMax
Added check to load the new chunk if neccessary
Added a lavacheck to teleportPlayer
Merge pull request #5 from TimoMeijer/master

teleportPlayer hangs the game