Fix hits pagination links

I think these have been broken since we upgraded to Rails 4.x and the way that
these routes were implemented was no longer supported.

This way is less code, less metaprogramming and easier to follow.
Merge pull request #393 from alphagov/fix_hits_pagination

Fix hits pagination links