Merge pull request #209 from fricy/DF2014

Correct 40.13 layout
check for qt version for setsetuid, #208

- should fix the errors in #208, but is untested
Fix OSX headers.
Merge pull request #211 from Hello71/DF2014

Fix OSX headers.
initial 40.14 layouts (without thoughts/happiness)

- ensure units can still load without happiness/thought offsets
version 28.0

- basic support for DF40.14, disabling thoughts/happiness
40.14 osx