Add BaseYamlStore.

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

Add BaseYamlStore.