Change text query to match query in tests

text query has been deprecated in elasticsearch 0.90 and removed in
elasticsearch 1.0. match query should be used instead.

https://github.com/elasticsearch/elasticsearch/issues/4033
Add vim's temporary files to gitignore
Add refresh method to ElasticSearchQueryTestCase

Documentation for elasticsearch's refresh API can be found at:

    http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-refresh.html
Make delete_index use index passed by parameter

MultipleIndexQueryTestCase's delete_index always used self.index instead
of relying on the index name passed by parameter.
Use refresh after loading fixtures

This way we only wait the necessary amount of time for documents to be
loaded into elasticsearch.

I kept timeout = 5 as a default in order to keep backwards
compatibility. On a new major version, where that's not a concern, I
think we should drop timeout entirely.
Add get method to both TestCase classes
Add test compatibility to elasticsearch 0.90