Enhanced custom tinyMCE buttons

Added MathJAX button to editor, which surrounds the selection with $$ and keeps the selection, so two clicks equals $$......$$
Both the <code> and the $...$ buttons now use the tinyMCE undo manager.

Now, legacy <tt> tags are also styled correctly.
Both <tt> and <code> get better styling in quiz output.