rewrite of the config file writing

the next step in the evolution of configman.  This PR represents a re-write of the methods that writeout configuration files.  This is an incremental step toward the goal of being able to push common options from nested namespaces into outer scopes.