Implement pagination

https://github.com/fs/rails-base-api/issues/72
Do we really need to hit DB here?