Category dropdown (bugs 860402, 858701)

Here's the category dropdown.

The stashing on models looks to miss the cache each time so would be good to know if the way I'm doing that need updating.

I've added basic tests covering hitting the category page from the homepage and a category page as well as checking the dropdown isn't visible on the search page.