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