CURATOR-145: TreeCache should implement maxDepth

Depends on CURATOR-144
i'd like to see a test that exercises max depth from a starting point deeper than the root or first node in the tree to ensure the null parent logic plays correctly there.