Renamed onNodeShow/onNodeHide to onNodeExpand/onNodeCollapse
Use apply() to set scope in callbacks to Node/Tree object.
Fire onNodeExpand callback before actual expand. Allows new nodes to be added to the tree from the callback function.