Bug 1042319 - [Gallery] Update gallery edit UI r=djf

Updated comparison to use gamma and matrix and hasBeenCropped(), for checking if first edit has occurred.