tree: Add enableTreeTransitions flag, and clean up _calcRowHeight
Update tests from tree plug-in to Tree mixin.