ES1.0 requires delete-by-query to have a top-level query wrapper

http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/_search_requests.html

this PR does that