Change template default filtering from dangerous to safe

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

Since you are already touching all this code, please remove all the "..."s per my earlier note.