Html Fixes

* 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