Fix repeat.lua documentation.
Fix syndrome-util.
Last xml update for v0.40.13
Update version to v0.40.14 and hack things so they compile.

Also make the find-offsets script less likely to crash if the
unit structure is misaligned and add more integrity checks.
Merge branch 'develop' of https://github.com/expwnent/dfhack into develop