More backend changes.
labor optimization tweaks/fixes

- fixes at least on cause where loading/re-loading optimization plans
resulted in incorrect ordering and the plan wasn't refreshed properly if
cancelled
use consistent role ratings

- resolves #152 by showing the display role ratings where applicable
(tooltips, detail dock) while still using the raw ratings for
optimization and exporting)
fix fortress name

- the world_site_type and active_sites_vector are actually not global
addresses, and should be moved to a separate section in the memory
layouts for clarity. then the boolean flag passed to m_layout->address
can be removed
40.11 layout, osx fix
Merge pull request #166 from fricy/DF2014

40.11 layout, osx fix
mem layouts for 40.11 (win/linux)
preliminary work adding unit orientation
move gender enums, detail dock, aggregate sort

- add a separate icon in the dock for the gender with a tooltip
description
- moved the gender enums to dwarf since they're only used there
- swapped the profession desc/icon order in the dock
add orientation offsets to layouts/scripts. resolves #163
Merge remote-tracking branch 'Hello71/morewin' into DF2014
fix role preferences, remove bad role prefs

- removes generic metal/stone/gems/alcohol preferences from all roles,
since every dwarf has one of these preferences
- adjusts the role calculation to give better preference ratings
merge fixes, role pref cleanup and fixes

- changed rolestats to better show what method is being used
- added the capability to override the transformation method in
rolestats (currently only used for preferences)
- fixed leftover ATTRIBUTES_TYPE enum changes from #167
Added message in .pro file about setting up either Qt4 or Qt5 version
Fix: some gridview.dtg sizes are longer than their associated data
Fix: make get_noble_color return exactly 1 QColor

get_noble_color was crashing accessing an empty list
when m_nobles.values() returned an empty list.

If m_nobles.values() returns 1 color return that, otherwise
if it returns no colors or many colors return a default value.
fix default roles, remove unused attribute xp, raws

- fix counts for default role preferences
- removed the obsolete raw reader
- removed unused attribute experience levels
change role drawing method

- force the drawn role ratings to use a simpler range transformation
instead of letting the checks/tests choose a method
Merge pull request #177 from stoutheart/crash-get_noble_color

Fix: make get_noble_color return exactly 1 QColor
Merge pull request #178 from stoutheart/fix-gridview-sizes

Fix: some gridview.dtg sizes are longer than their associated data