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
It will not work actually, because limit method doesn't change current query. It creates a copy with modified limit and returns it. And you are using per_page method later.