JPath::clean

Function to strip additional / or \ in a path name.