Add BaseYamlStore.

This does the reading/writing logic that's common to the other
stores.
Merge pull request #140 from csmith/master

Add BaseYamlStore.
Merge branch 'master' of https://github.com/DMDirc/DMDirc into profilemanager