Setup a module to track globally used paths.

This includes moving the default settings location and tweaking
settings to use the locations module.