Feature/xdg config dirs

Fixes #431.