CURATOR-145: TreeCache should implement maxDepth

Depends on CURATOR-144
This is an interesting idea. We could leave the integer based maxDepth in the builder but have it create a Predicate internally. Then, have an alternate method in the builder that takes an actual predicate. But, let's let @dragonsinth decide.