Added a getPerPage method to Paginator. Fixes #735