Remove TreeNodeBuilderDynatree class and consolidate its methods in TreeNodeBuilder class

#1139