role calc tweaks, cleanup

- modified the role calculations (again) to use an alternate
transformation method (again)
- attribute and skill ratings are calculated on unit load to ensure
they're only done once
- exposed more profession and caste information to scripts
- cleaned up the old role attribute/trait bin stuff
more cleanup, fix for role calcs on refresh

- fixed transformation variables persisting through refreshes
- moved the attribute calculations into where the unit role ratings are
calculated
- minor cleanup