First stab at ConfigManager class
Add default for profile_dir

So ConfigManager is useful outside an IPython application
Remove profile_dir from handler class
Don't calculate default value when setting traitlet for the first time
Merge pull request #7041 from takluyver/nbconfig-manager

ConfigManager class for frontend config