WIP: Refactoring of printing to re-use more code between IJulia and REPL

... plus be consistent with MathJax/Unicode/whatever Windows needs. Currently its a mess.