follow xdg base dir spec. fixes #77

spec is at http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html