[WIP]Use "first" and "last" instead of page number

The aim of this PR is to be able to return the first or last page without having to calculate that page number first

As i'm not working with MongoDB or Elastica i've left them unchanged for now, any help to update them as well is welcome

Let me know what you think of the idea and if there is more to be added.