Added parentPath function

git-svn-id: https://roboticssrv.wtb.tue.nl/svn/ros/trunk/tue_filesystem@27246 3a3c2cfb-d3b9-409e-9e75-db8fcdbcaac6