Performance improvements for `_tags_associated_with_category`

* Add a limit to the query so the taxonomy data is pre-fetched.
* Drop two of the queries that aren't needed
Merge pull request #195 from INN/fix-195

Add caching to `_tags_associated_with_category()`