Encode all the strings

This PR changes the default behavior of `edxmako` templates.

Here’s a list of cool things this patch does or allows:
* Introduces safe-by-default templates by HTML-encoding everything
* Fixes a lot of XSS vulnerabilities.
* Translation strings won’t have to include `&amp;` and other HTML entities in the future.
* Probably more…

This is still a WIP, so do not merge for now, I’m sending it now so everybody can be aware of this.

cc @nedbat

No, not here, this is HTML and the JSON will be HTML encoded, so everything is safe.

JavaScript will retrieve it using `$(selector).data('metadata)` as a string. Parsing is not our business here.