added dispatch property to TemplateBuilder.
merged TemplateBuilder.buildNodes into build.
added common.
added string to Output.
moved TemplateBuilder encoding param into buffer param.