adding a path helper to consolidate path manipulations
Merge pull request #35 from phpcr/path-helper

adding a path helper to consolidate path manipulations