implemented inputting math equations in text editors

I have implemented inputting math formulas into the text editors
using ASCIIMath and rendering them with MathJax. To input math
formulas, users have to put "`" around the equation. Currently
nothing is available to help the user input equations easily, so
more improvements can be done.