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

Could you simplify all this cancel code by just saying:

   editSettings = savedEditSettings;

I think that might work for cancelling any edit tool and would remove a lot of code.  Even if you can't do that, it probably isn't necessary to do the comparisons: you can just do the assignments even if nothing actually changed.