Fixes bug 1114552 - Added Query service to es module.

@phrawzty r?
`TransportError` can be transient; might it make sense to add some retry logic here instead of just bailing immediately?