Add support for match queries

Elasticsearch 0.19.9 renamed text queries to match queries. This
adds support for the new name.

r?