Group by and display sums are always being updated on query save.
Fixed bug which was displaying the grouped column in the selected columns.

Instead of passing the grouped column as a selected column to the backend have instead modified the controller to add in the group by column data if it is present but not have it in the queries selected columns.
Merge branch 'dev' into feature/query-save-bugs-8002
Merge pull request #1410 from opf/feature/query-save-bugs-8002

Feature/query save bugs 8002