Add support for document_type filter

Allow filtering by elasticsearch's _type field. This will be used for finder-frontend.
Nope, but happy to do a refactor some other time.