Replace XDG_CACHE_DIR with XDG_CACHE_HOME

per http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
Merge pull request #783 from bluehavana/master

Replace XDG_CACHE_DIR with XDG_CACHE_HOME