Updates KPF to reflect prior changes to TreeNode

TreeNode uses an add_child method instead of a children= method
to add children, which kpf.rb now uses as well.