Deflicker: prerequired changes to the core

1. We need to know original(uncorrected) black level and white point from raw image.
2. We need a way to modify histogram precision - 64 bins is definetly not enough.