Implement pt-tree/pt-branch directives in a different way (inspired by dotJEM/angular-tree)
Implement tree editing functionality
Some debugging
Minor style adjustments