add table of contents when toc attribute is set

- also move the constants from BaseTemplate to Asciidoctor module
Merge pull request #86 from mojavelinux/toc

Table of contents!