Refactor pagination, put page scope methods on ActiveRecord::Relation