Added the 'path' and 'cdpath' settings

This adds support for the 'path' and 'cdpath' options.  These options
are simply present at the moment.  No existing functionality takes
advantage of them at the moment. This is a necassary building block for
other features.