Enhanced markdown2latex method

Use HTMLParser to split the markdown source into 
* pure markdown
* html tags
* tagged comments (starting with ##)

Addresses a shortcoming of pandoc that raw html is removed during conversion to latex (see http://johnmacfarlane.net/pandoc/README.html#raw-html)
The tagged comments may be used to inject "invisible" latex.