re-org getSpecialTag into TemplateTag

...specifically into TemplateTag.parseCompleteTag.

Also document TemplateTag more.