HUE-1185 [jobsub] Trash for designs

- Update trash manager to use a different set of idioms for retrieving
trashed and available workflows.
- Datatables and KO fixes.
- Reduce number of RPC calls made by templating system.
- Test cases for jobsub views.
- Re-enable jobsub JS test cases.