Catalog categories state in permalink

This PR addresses #632 

- On initialisation, assured that nodes specifed in catalogNodes are opened in the tree.
- Updates catalogNodes permalink parameter when categories are opened/closed