Use paginate module in elasticsearch plugin

Rather than duplicate the logic in the pagination we just call out to it
and convert the mongo names (skip/limit) to the elasticsearch names
(from/size).