Tree leaf icon

Hi , 
the leaf icons are correctly displayed, 
using the rules defined in the "mayHaveChildren" function of the tree model.
Please have a look at the changes and let me know if there's anything you like to have changed.
L.