Refactor terms section into its own template with it's own javascript
Move term form initialisation to trigger upon receiving a subrecordcreated event for 'term'; also renamed the deleted.subrecord form to subrecorddeleted.aspace
Initial round of changes to support linked agents as subjects in the frontend.
Only initTermForm for the outer .subrecord-form as the term items are generated differently; Allow disable of remove and sort behaviours on subrecord-form items;
Correct error handling for DB-level validation failures
Add test for DB exceptions (ID already in use errors)
Added test for linked agent as subject
Fix error message format for 'group not found'
Merge branch 'agent_links_subjects'