Minor fixes for clickActionHandling in gS
Make defaultCickAction public in gS
Fix mainTree detection in dependencyTree
Move all headChange logic from state to depTree

And refactor it - still ugly, but oh well...
Remove a console.log
Deprecate state tests for head changes
Refactor in depTree
Remove all depTree dependencies of token directive
Allow to add a preClick action in gS
Define a preClickAction in depTree
Add hover behaviour for head changes again

Token is now clean of any outside code and dynamic.

TODO: Changing these bindings on the fly.
Refactor how preClick actions are defined
Broadcast when click action changes
Minor fixes in globalSettings
Listen to binding changes in token
Consistency fix in dependencyTree
Beware of changes in inactive trees