[stex] Added syntax highlighting for Math modes

Added highlighting for math mode started with `$`, `$$`, or `\[` in latex files.  Also cleaned the code up a bit, converting tabs to spaces, etc.