added commonPrefix/removeCommonPrefix methods on DirPath + more absolute/relative conditions for relativeTo