Add hash_including test helper

Because RSpec is better
Add support for document_type filter

Allow filtering by elasticsearch's _type field. This will be used for
finder-frontend.