Fixed crashes in HopperEntity.

Some of the coords were off and some functions were assuming too much.
Fixes the crash reported in http://forum.mc-server.org/showthread.php?tid=1497
Added asserts for cChunk::GetBlockEntity() coords.