Proper merging of config items

This allows you to load config files in another directory to append or modify an existing config item using a subsequent call to loadConfig.