Implement pagination

https://github.com/fs/rails-base-api/issues/72
@timurvafin looks better, more informative name