Levels IOP: add automatic mode

Now you can set black/gray/white percentiles, and store as a preset -
will work as expected.