replace dirname/basename calls with phpcr-utils PathHelper
Merge pull request #295 from doctrine/path-helper

replace dirname/basename calls with phpcr-utils PathHelper