Add Tree.Node#depth()

Tiny last-minute feature!

`Tree.Node#depth()` returns the depth of a node in the tree. The root node is 0. A child of the root is 1. A child of a child is 2, and so on. Unattached nodes have a depth of 0.