Bug 935273: don't decode full-size image during pick activity unless necessary

Modify ImageEditor to have a "crop only" mode where it displays
only a preview image and crop handles and does not do other image editing.
In this mode it does not decode the full-size image unless the user actually
crops the image.

Address review comments; handle orientation change; handle case where image has no preview
(cherry picked from commit 16079236610d093aec86c62243eb9987ab8d3dd6)

Conflicts:

	apps/gallery/js/ImageEditor.js
Merge pull request #14342 from davidflanagan/bug935273-v1.2

Bug 935273: don't decode full-size image during pick activity unless nec...