Bug 1030629: search filters

This keeps the implementation mostly the same as in [pull 2723](https://github.com/mozilla/kuma/pull/2723), which is superseded, but cleans up the test failures.