Added the ability to limit the scope of metadata queries by path hierarchy

Added documentation and tests
Merge pull request #18 from keithj/devel

Added the ability to limit the scope of metadata queries by path heirarchy