FORGE-1060 Additional refactorings for the DTOClassBuilder

Refined the API of the DTOClassBuilder for the DTO generator.
FORGE-1060 Extracted String concat operations into FTL templates

Convoluted StringBuilder.append() invocations are now replaced by
FreeMarker templates.