add variant of 'findAll' for pagination

To make 'findAll' more useful outside a debugging environment, I added an option to use it with pagination.