#1 decoupling the filter from the tree directive, saving expand status of nodes when swtiching back from filter mode to normal mode
#1 making catalogue-directive file jslint compliant