[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).
I think that's right in all cases. Can't think of a counterexample.