added TemplateBuilder, TemplateBuilderChain and TemplateBuildException classes
ported 0.6 to 0.7
added AbstractTemplateBuilder class