Update HTMLBeautify.py

Use compiled regex's for speed
Unindent properly when closing tags are stacked on the same line.
Update HTMLBeautify.py
ST2 > ST
merged Enhanced indentation detection #7

thx clayreimann
Merge pull request #9 from rareyman/clayreimann-master

Clayreimann master