generalise manager

The config file manager can be generalized to mess with all the config file in profile. 
Will be usefull for jupyterdrive.
Should this (and the module) have json in the name, e.g. `BaseJSONConfigManager`? Since this is not general to everything our config system can do?