FIX TocGenerator to accept attributed headings

- TocGenerator skips any headings with attributes (via RE)
- an attribute may be added using AttrList extension
- a skipped heading was not being displayed in ToC
- now it is :)
Merge pull request #71 from jangxyz/FIX-attrlist-header

FIX TocGenerator to accept attributed headings