pick home and config path from environment if set.
add support for XDG_CONFIG_HOME as per FreeDesktop basedir spec
When creating a new config, determine config dir by default strategy.
print config dir debug info only if output is enabled
Merge pull request #285 from mk-pmb/cfgdir-env

pick home and config path from environment if set.