Update all ES queries to use Elasticsearch DSL (bug 1036168)

There was no migration or sign of this waffle existing anywhere but here.