follow xdg base dir spec. fixes #77

spec is at http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
Merge pull request #78 from rahulsundaram/master

follow xdg base dir spec. fixes #77