[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).
Does "normal in a shell" mean `swd = pwd`?