This is the first part of the Cycles color management implementation. It still has some ToDos
and areas to be cleaned up, but it should be ready for general review now.
More details on this patch can be found in T46860, this diff contains a cleaned-up version of
the first three patches.