[WIP] deconstructPathRelativeToSWD

Addresses fixes to deconstructPathname (addresses issue #264). Introduces a new function deconstructPathRelativeToSWD that finds the absolute path to a given path name relative to a specified working directory (swd).
bug: won't work on windows where getPathSeparatorChar() return backslash.