Use XDG config & cache locations

To reduce the dotfile hell in $HOME, use the [XDG-specified][1] config file location.

Also automatically use the XDG cache directory for icons, if none was configured.

[1]: http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html