Add support for document_type filter

Allow filtering by elasticsearch's _type field. This will be used for finder-frontend.
(Deleted an old mistaken comment; this bit is fine.)