New features for paths

Here are some new features to allow people to find the path to root for any given item as well as to determine if one item contains another. With some tests, even. For #84
Yep, you are correct. Sorry for the confusion.