Rewrite fc-gsettings-logger.c.

This is a full rewrite to also log changes for relocatable schemas.

See my writeup in the source code for details.