Allow callable configuration for injectedClasses

Allow icon based on nodes for injectedClasses,

```

            injectClasses: {
                iExpanded: "fa fa-folder",
                iCollapsed: "fa fa-folder-open",
                iLeaf: function (node) {
                    return node.icon;
                }
            }
```