Support ~ with the j command.

The code now tries to resolve the path with
"GetUnresolvedProviderPathFromPSPath" - if the resolved path exists, it will
change to that directory. If it doesn't, the code proceeds on as usual.