use :query element with ES 1.0
use :query element with ES 1.0

The validate and count queries require a top level :query element in
ES 1.0, like the search api. Tests check the ES version and compose
query hashes accordingly.

github/elastomer-client,github/elastomer-client