Clear cached versions of when activity parts are added or destroyed.

[#67856314]

https://www.pivotaltracker.com/story/show/67856314
whitespace.
Move more caching behavior out of controller to the caching module.

[#67856314]

https://www.pivotaltracker.com/story/show/67856314