Pagination

This adds pagination to the search page. I used the same pagination gem as ActiveAdmin, so there won't be any conflicts if we decide to integrate that later.

Also fixed a weird bug where tag counts wouldn't work when the "Recent" ordering was chosen.