Modify the config module to abstract out config loading from the json-local implementation.

Reduce json-local to simply the loading of the config area.

Allow config extend property to allow arrays of things to extend. Add this functionality to config.js and add relevant tests.