Adds console rake task.
Improve default pagination implementation.