queries controller using json url params to redirect to wp index.

https://www.openproject.org/work_packages/7472

This doesn't completely recreate the exiting behaviour because we can't add the filter for backlogs_work_package_type. More actually we could add it and it would filter the work packages but with our current frontend the available work package filters are hard coded as constants so it wouldn't display properly. We need a mechanism in the core angular to allow for plugins to add filter types but i think that's outside the scope of this PR.