Made a rudimentary attempt at loading query if id is given.

had to put some stuff back into work packages controller again sorry Till.
Merge branch 'feature/ui-component-table-widgets-merged-js-config' of github.com:opf/openproject into feature/ui-component-table-widgets-merged-js-config