Made configdir check XDG_CONFIG_HOME for config dir
Merge pull request #494 from frh/master

Made configdir check XDG_CONFIG_HOME for config dir