MOC should use the XDG directories

Hello!

The use of the $HOME/.moc directory with everything stored in it is now deprecated by the XDG specification.

Here are the needed changes to support that spec:

Thanks,
Link Mauve