Replace Workflow with Obligation in QAScript

TODO: Fix tests in testQAScript.py