A function to let us insert html into text translation strings

I've changed just a few templates, I'll get to others in another commit.

MarkupSafe is a Mako requirement, but they don't require a recent enough
version for consistent behavior.

Earlier versions of rednose couldn't display error tracebacks that
failed with unicode characters.
Yes, good point.  Changes coming.