Allow TeX in role descriptions etc.

Regexes for commands, keywords and options don't take into account that closing braces or brackets may appear more than once in one line. New regexes match the first matching close pair, allowing things like:

    \role{S}[Foo Bar] This is \emph{truly} a description`