plone.app.collection: Implement publishing the query.

@jone 

Handles the `query` separately.
The query field contains a list of dicts.