Add workaround for angular filter serialization


With newer versions of $http params are stripped if they map to empty arrays, this breaks the queries on the backend side because they currently still need at least an empty array provided as filter values.

TODO: Make the backend more tolerant
Merge branch 'feature/angular-api-work-package-loading' of github.com:opf/openproject into feature/angular-api-work-package-loading