Make activity API specs expect JSON request body

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Make workPackageService send request body as JSON

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Make activityService send request body as JSON

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Set relations delete endpoint to use correct id
Test that right clicking preserves selection
Preserve selection when clicking on a selected WP
Merge pull request #1761 from opf/fix/relations-cannot-be-deleted
Merge pull request #1746 from opf/feature/12627_enable_disable_wp_details_view

[Feature] 12627 enable disable wp details view
Test work package properties are sorted
Sort work package properties by localized label
WIP accept json string query in url
parsing filters from url json.
Display filters if present in url params.
added encode method for query json params and using for back_url
WIP vaguely implement serialising query to url. lots of bugs.
use emit strategy to keep serialised query up to date
WIP prioritise query params over query id.
Use separate url params for non-updating query props.
Remove some of the more obvious bugs.
Clear url query params on query load.