Added a blockface parameter to the OnProjectileHitBlock hook.
Added a BlockHitPos parameter to OnProjectileHitBlock
Using recommendations (I think)
Initial VillageGen implementation.

WIP, doesn't generate anything yet.
Ref.: 740.
VillageGen: Added well placement and the general algorithm description.
cPrefab can be constructed in code.
VillageGen rewritten using BFSPieceGenerator.

Piece composition is not good yet, the buildings aren't height-adjusted and the road pieces will need special processing. This is mainly for adjusting the per-piece params.
Changed village road generation to use multiple prefabs.
Changed village generator defaults to more reasonable values.
Fixed a NULL ptr failure in GridStructGen.

When the descendant generator returned a NULL structure, the generator would crash. Now it uses a special cEmptyStructure class instead.
Add more move checks
- Invalid X/Y/Z/Stance check (std::isnan)
- Illegal stance
- Illegal position (32.000.000 is the world size)
Updated PlainsVillage prefabs to the latest Gallery contents.
Village houses are height-adjusted onto the terrain.
Village roads are drawn properly.
Updated SandVillage prefabs to latest Gallery content.

This fixes sand village generation.
Merged branch 'master' into VillageGen.
Fixed some warnings
Rolled some changes back
Fixed some warnings in Server.cpp, and in UI/
Fixed warnings in IncrementalRedstoneSimulator