Merge pull request #12 from arjan/master

hackney:request can also return {error, ...}
returning elasticsearch errors

so the caller would know what went wrong
Merge pull request #13 from marcelog/marcelog_returning_elasticsearch_errors

returning elasticsearch errors
allowing payload for methods like DELETE.

In its delete_by_query api, elasticsearch allows the query to
be passed in the query string, but also as a json payload. This
should allow that, and also does some cleanup, by treating the
absence of a payload as a payload of 0 size (content-length)
Merge pull request #14 from marcelog/marcelog_delete_by_query_with_body

allowing payload for methods like DELETE.
adding support for percolator feature
Adding delete feature for percolator
Merge pull request #15 from marcelog/marcelog_percolator_support

adding support for percolator feature