allow use of a function to colour branches
hoverLabel option added to the Tree object to close #7
Rationalise versions