bugfix, second %s in the string is unused
Removing db.session.rollback, this sometimes raises exceptions unexpectedly and does not really contribute anything especially since the session should already be cleaned up by the Flask request context
run engine.dispose after forking
catch ValueError when adding or updating an agent, it could be a validation issue with the model
Use the job's priority for new tasks

When creating new tasks, use the job's priority as the default priority.
When changing an existing job's priority, its tasks' priorities will
still not be updated, though.  This is by design.
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
Merge pull request #120 from guidow/job_prio_for_task_prio

Use the job's priority for new tasks
Remove redundant/unused workstates

As discussed here:
https://groups.google.com/a/pyfarm.net/forum/#!msg/discuss/Qd7zAdSDTMc/NiacNdKwAbwJ
Fake queued, running, assigned states in job api
Experimental scheduler as asynch. celery task
Cosmetic change: stay within 80 cols