Will paginate support

Added will_paginate support. Now, we can use will paginate function (will_paginate) to generate pagination links in view.