Transitions and a working root node in the tree

Adds transitions. Cudos to Dagre, wouldn't have thought it's THAT easy.

Adds an own directive for the root node in a tree - it's click and hover functionality differs a bit from a regular token. It's the easiest to solve it this way.