adding support for percolator feature

Hello :)

This adds support for [the percolator feature](http://www.elasticsearch.org/blog/percolator/), so queries can be added and docs can be percolated. Another useful change would be to let the index and index_bulk operations percolate the docs when indexing, that's for another pull :)