Added equation and align environments to AMSMath, and the basic eq.-number referencing utilities. equation was previously defined in Base.Commands, and it sure enough doesn't really need AMSMath, but it also doesn't really make much sense without the rest of the math functions which are defined there.
Merged changes from DanielDiaz, including Num/Float instances in AMSMath
Changed endCmd: TeX commands actually consist only of letters, no special symbols at all are allowed – so it's much easier (and also more efficient) to simply check for letters, rather than special character.
Removed the cryptic 'shorthands' for special characters such as oBr for '{', and also for e.g. "\\begin". With the changed implementation of endCmd most of these are used at best once anyway.
Merged changes by Danie Diaz, such as matrix support.
Turns out 'autoBraces' was broken from the beginning: @comm0 "left"<>"{"@ would produce @\left{}\{@, which LaTeX doesn't accept. Switched to 'commS', though this isn't all too convincing, either. But seems to work in practise, now.
'endlessSq' is one of the functions I had removed from Parser, as it seemed to offer nothing but obfuscation. Replaced its use in 'text2' with 'T.pack "]"'.
Merge pull request #14 from leftaroundabout/master

Some bug fixes and improvements.