Make only one request to fetch template.tmpl

Summary: Previously, the profiler would fetch the template once for every request which wasn't particularly problematic but was kind of annoying when looking in the network panel.

Reviewers: chris, alan

Reviewed By: alan

Differential Revision: http://phabricator.khanacademy.org/D7046