Pagination

This PR provides pagination support for the model index.

## To do

- [x] Implement a pagination control (only where necessary)
- [ ] Ability to turn pagination off for a particular model (showing all rows)
- [ ] Allow the user to change the page size
- [ ] Make sure pagination works appropriately with sorting, and filtering