refine histogram equalization algorithm
performance logging
Bug 1102712: honor devicePixelRatio in Gallery image editor

(cherry picked from commit c2cf142cc7ba19d615147c602fbe9ba37bc086b7)
pendingRequests should be a queue not a stack, dummy!
make exposure slider a little more responsive
performance improvement when editing a full-size image