Speedup topic show pages

Main speedup comes from re-implementing Classification#recently_changed_documents.

Other speedups from avoiding N+1 queries.

https://www.pivotaltracker.com/story/show/55382638

Speedup takes it from ~1000ms to ~450ms