Improvements to HTML parsing

* Nested tables supported better - data doesn't appear in all tables
* Table order has changed - tables without tables appear first, now.
* Supports tfoot before tbody correctly.