70513102 Performance for some pages

https://www.pivotaltracker.com/story/show/70513102

- fixed N+1 query issues in comments and tasks renderings
- fixed some N+1 issues in status bar for (ContentPlan details page and Dashboard page)
- added caching for comments and tasks
- corrected related Rspecs, related to ContentPlan status bar