Properly escape CourseKeys and UsageKeys in html templates

Purely for user. I'm not sure why it needs to be escaped.