DAR-1061 Performance problems with Forum Activity Module

This is a fix for a performance regression introduced by #982.

There are two parts to this:

* Optimized the query... improved performance by ~150x
* Added caching layer... improved performance by an additional ~30x