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
I did not explicitly add that. That was just me trying to get gulp working on my computer (which took a few iterations, so I probably did things I didn't need to do)