Added initial LaTeX support

Rebased version of [pull #207](https://github.com/LeaVerou/prism/pull/207) on issue #206
Braces don’t need escaping in character classes.