Improvement: Added a new option 'minHeadings' to specifiy a number of
headings that have to be in the document before the toc is being
displayed. This prevents a toc being displayed when only few content is
on the page.
Improvement: Added the new option 'minHeadings' to the doc.