Fully implement XDG directory support, fix a bug in ctrl_highscore

The highscore file is now written to XDG_DATA_HOME/ac-scores.dat. Also
fixed a bug which lead to a crash when changing the highscore.