Improvements of HTML parser.

I've done some improvements to the HTML parser - it's now able to convert tables into ASCII equivalents and produces nicer output (it can distinguish inline elements and uses newlines more carefully).