Added the nodeSize function to TreeLayout

Documentation https://github.com/mbostock/d3/wiki/Tree-Layout#nodeSize
Merge pull request #2621 from hstitz-jku/patch-1

Added the nodeSize function to TreeLayout