Since a lot of the sensors seem to have some form of gamma correction built into them we can't apply the regular 2.2 correction ourself. Technically the correct thing is to simply don't do any gamma correction if CRF's are used. However this means the user can't tweak the response curve.
Thus my fix is to assume the CRF does gamma correction and remove it when loading the file. When we then apply the gamma correction ourself (with the same 2.2 gamma) we get the same result as if we did not do manual correction. However it allows the user to do the correction with a different gamma, allowing for some tweaking.
Also it fits better with luxconsole/pylux. If you specified the CRF file in the scene file/data you'd need to also supply a gamma of ~1.0. Now this is not needed, and any slight adjustments seem natural, at least on the CRF's I've used. We could introduce a flag which controls this behavior as well.
I committed this just so we could try it out and have some discussion around it, feel free to revert it
