Internal class TemplateVisitor::VisitStack changed

Internal class TemplateVisitor::VisitStack renamed to
TemplateVisitor::VisitState. Added a queue of visited elements to be
send to the Yielder (= client of Enumerator). Next step is to add the
support of multi-element filetring rules.