Add support for document_type filter

Allow filtering by elasticsearch's _type field. This will be used for finder-frontend.
```ruby
[].first
# => nil

[].fetch(0)
# => raises IndexError
```

This way you get a clearer message about exactly what was wrong.