Added support for dot notation to getPath & hasPath.
Merge pull request #70 from joshuacc/dotnotation

Enhance getPath & hasPath with support for dot notation