Move the warning check code from the daemon to libcolord for code reuse

This allows us to write a helper tool to identify lots of broken profiles.