WIP restful: addition of pagination

![zapp!](http://i.imgur.com/yhV02.gif)