fix low role value drawing, add updated roles

- fix a case where a very low role ratings (< 0.0001) could be drawn
incorrectly
- update ~20 roles to feelotravellers civ/military roles
- moved gender read above profession since it should be used to set the
profession name
tooltip social skill option, minor options tweaks

- fixes #168 social skills in tooltip
- adjusted layout of widgets in options screen, and added some toggling
of child widgets when the parent is toggled
- fixed the warning about an unknown column in the default roles
gridview
option to highlight role cells will preferences

- adds an option to highlight role cell borders based on the number of
matching preferences. the more matches, the darker the border
WIP role preference work, misc cleanup

- splits item preferences into armor and clothing groups and adds
general 'armor' and 'clothing' possibilities
- change viewcolumnset to use a regular ctor
- cleanup/fix a includes and unused includes
- fix preference highlighting for some strings
- adds foreign/specific armor types for preferences/roles
- remove utils from/to hex for colors
tweak cell drawing, role rating drawings

- changed role ratings to use ecdf/rank instead of a min/max for the
drawn ratings
- updated the cell drawing to use values between the ignore and min/max
values
- fixed belief sorting
armor offsets, skills and role tweaks

- revert the changes to drawn role ratings
- changed displayed skill xp to truncate and use suffixes
- added a general trade goods role preference group
- moved role preferences for clothing, armor, weapons, supplies to a new
equipment category
refactoring item subtypes, preferences

- replaced the ammo subtype with a generic one since it doesn't have any
special data read
- moved name and initial offsets for subtypes to base class
- instead of loading only weapons/armor all items with subtypes are
loaded initially to be used with roles/preferences
- added a flagarray to item subtypes for flags like
melee/ranged/armor/clothing/etc
- cleaned up the preference flag setting/copying
add offset for tool adjective, pref searching

- allows the search in the preference dock to also filter on the
category column
- adds offset for the tool adjective item subtype to the layouts
merge labor_opt initial changes
merge labor_opt changes
merge labor opt changes

- further tweaks to ensure the highlighting and ratio calculations work
with conflicts in the labor optimizer
- added a check when loading to notify the player if the optimization
plan is using an invalid role
fix various misc errors/warnings
finish labor_opt merge
update roles, fix optimizer bugs

- update material description for tooth to also indicate ivory
- update existing default roles to use the new armor/clothing/tradegoods
categories where applicable (crafting roles mostly)
- fix issues with the ratio calculation with the labor optimizer when
there are no ratios (everything set to hard counts)
Correct 40.13 layout, squads do not work with previous version, haven't tested syndromes.
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.