PathResolver was not resolving "~" as home directory

Also "~xy" is now resolved as regular directory which name starts with tilde
Merge pull request #72 from rbalent/path-resolver-tilde

PathResolver was not resolving "~" as home directory
make sure that interruptedexception is rethrown