Added the option to define a function on the tree options that will get the node, and return a CSS class that will be added to the node (If returned a value)