Add a space between section number and heading in ToC.
Clean up the parseHTML() function to be sanely organized.
Fix addTOCSection to use real element manipulation, not text-level hacks. Also, remove IDs from elements in ToC. Fixes #180.