Remove ElasticSearch global, pass it as argument

I think it could be done more nicely.. But it seems to work.
Actually, I think we should remove this argument from here to stick closer to the base class, and do the aliasing in the search method.