optimizer fixes and tweaks (BETA)

- alters how the optimization plan determines priorities to be much more
intuitive and precise, based on Thistleknot's work
- fixed a bug with optimization plans and jobs without roles
- fixed a bug with role skill ratings which could end up with a negative
value
- added some files for the masterwork therapist