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