Add s:isjoinpath function, simplify s:issuperpath
Rename issuperpath to issubdir and add a couple of improvements for non-existing paths, simplify joinpath