Exposure IOP: Deflicker (port from Magic Lantern)

Same functionality as in Post Deflicker module of Magic Lantern.
Note: though the algo is the same, computed EV might be slightly different from ML's (on same image and same settings)