Html Fixes [Work in Progress]

* Make sure all toLower/toUpper are using invariant
* Add missing toLower calls and remove extra not needed toLower calls
* Small tweaks to docstrings
* Replace br's with newline in InnerText
* Fix for #703
This new pattern clause fixes #703