list variables and sections from templates #162

* template.collect(TagType.VAR) results in: [hello, var]
* template.collect(TagType.TRIPLE_VAR) results in: [tripleVar]
* template.collect(TagType.VAR, TagType.TRIPLE_VAR) results in: [hello, var, tripleVar]