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

Again, I think it might be cleaner to compare the matrix, the gamma value, etc., but this is okay.
Does UX really want the apply button to be disabled and enabled like this? It seems harmless to have it enabled even when nothing has changed. So if the design does not explicitly call for this, please ask Katie about this.