resolves issue #2016: workflow trigger for SO, PRJ tables

Adds triggers to:
- `cohead`
- `prj`
- (tohead and wo are added via https://github.com/xtuple/private-extensions/pull/529)
- `tohead`
- `wo`
which, `after` insert, all call the same function, `xt.createwf_after_insert()`. `xt.creatwf_after_insert()` gathers the correct parameters for the table and then calls `xt.workflow_inheritsource` to generate the "default" workflows. 

**UAT:**
To 'turn on' this generate default workflow functionality, run this sql script `select setmetric('TriggerWorkflow', 't')`. 
On a *masterref* database (needed for transfer order functionality) with inventory and manufacturing enabled, prepare the "default" workflows for each workflow type: 

- Setup > Sale Types > CUST > Add a workflow (the details/setup of the wf don't matter)
- Setup > Project Types > Standard > Add a workflow
- Setup > Site Types > DIST > Add a workflow
- Setup > Planner Codes > MPS > Add a workflow

1. Create a Sales Order, the Workflow panel should be populated with the default workflow, save. Open the Sales Order > Workflow > There should be a duplicate workflow.
2. Create a Project, the Workflow panel should be populated with the default workflow, save. Open the Project > Workflow > There should be a duplicate workflow.
3. Create a Work Order for *BTRUCK1* item number, the Workflow panel should be populated with the default workflow, save. Open the Work Order > Workflow > There should be a duplicate workflow.
4. Create a Transfer Order to WH2, enter a line item, the Workflow panel should be populated with the default workflow, save. Open the Sales Order > Workflow > There should be a duplicate workflow.

From the Qt client:
1. Create a Sales Order for TTOYS and create a Project with 'Standard' project type
2. Open each in the mobile web app and verify that they have workflow
3. Create a Work Order for BTRUCK1
4. Create a Transfer Order to WH2
5. Open the mobile web client and open each of the orders to verify that they have workflow.