Add support of query pagination with WillPaginate

Hi.

There's my contribution! Can you check that please?

How can we made tests for this integration?

Thanks a lot
Code style