Add pagination support for mongoid