Cache Activity Images & Inject SmartGraphs build ID into html template.

[#71231582] (IN Progress still)
https://www.pivotaltracker.com/story/show/71231582