In order to support writing and retrieving config data by API consumers
introduce two API exposed functions for calculating hash values of
individual outputs and configs dependent on the currently connected
outputs.
This allows to move the similar code path out of kscreen.