Fix #490

@garyb @joneshf Does this look ok? It allows us to make binary distributions which copy the Prelude to the user's home directory or the XDG config directory.

@joneshf I was thinking as well, maybe what we could do with XDG is to turn support on/off based on a cabal flag. What do you think?