respect XDG_CONFIG_HOME for getting user config dir.

Under linux the XDG Base Directory Specification define different
enviroment variables where to store what.