Parse permalink for open catalogNodes on startup
Assure that permalink is updated when category is opened/closed
Test with oldTree
Make sure it works on catalog change. Remove init switch
Use controller for inter-directive communication
Remove unneeded stuff
Merge pull request #641 from geoadmin/dev_catalog_permalink

Catalog categories state in permalink