Minecart collision and general improvements

+ Implemented collision on one type of rail
* Improved curved rails somewhat
* Fixed a crash bug
Merge remote-tracking branch 'origin/master' into minecartimprovements
Added more rail functionality
Fixed weird meta with curved rails
Minecart improvements and fixes

* Fixed curved rails
* Fixed detector rails in certain situations
* Fixed powered rails and others passing bad meta to SnapToRail()
Added one more direction into collision checks

* Added direction XM_XP
* Improved performance, thanks STR and xoft
Begin implementing ascending rails
Added more minecart powered rail directions
Improved AllToLua UI experience
Rail speed tweak
Reduced unnecessary echoes (thanks xoft)
Small fix since the new AI and a new small feature.
You get particles when trying to tame wolfs.
They don't walk anymore when they are sitting.
Fixed bug where wolfs would teleport while they were sitting.
Merge pull request #590 from mc-server/Wolf_Fix

Wolf: Small fix since the new AI and a new small feature.
Merge pull request #589 from mc-server/minecartimprovements

Minecart improvements
Added SIGABRT to catchers list
Fixed Byte-order reading.

The functions would fail on bytes that were above 127.
Item-loading now checks for weird bytes.
cByteBuffer has more self-tests.
Fixed client packet parsing.

When the packet wouldn't fit the current buffer, the server would mis-parse the next packet. This was the cause for #541.
Also modified comm logging, now each direction can be turned on separately.