Added search filter functions.

Added support in the elasticsearch DSL for the
filter functions defined in http://tinyurl.com/qzobc69
ISTM that a bunch of these fit exactly the same pattern and could be described
in a table, making it easier to see if there are any subtle differences.