Added pagination and deep pagination support
Merge pull request #275 from SammyK/add-pagination

[4.1] Added baller pagination