GKeyfileSettingsBackend: Use a directory monitor

GKeyfileSettingsBackend was using a file monitor to monitor
the parent directory of its keyfile.
More settings backend tests

This adds some more test coverage around writability changes
in the keyfile and delayed settings backends.