provide a better error message for the priority validation mixin
adding missing db.session.add calls, breaking test down a little
Merge pull request #121 from pyfarm/bugfix_validate_task_priority

bugfix to ValidatePriorityMixin's priority validation logic