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
Absolutely