Update MarkdownTOC.py

Making sure that tags can still be inserted even if no appropriate headers are found.
Merge pull request #30 from sjml/patch-1

Update MarkdownTOC.py