Filters

For advanced search, filters are needed. Not all existing filters have been implemented yet, but new filters should be easy to base on what has been done.
An error in the JSON serialization of the BoolQuery in the minimum_should_match parameter surfaced. A test was added, and the bug was fixed.