Bug 989290: handle EXIF orientation in Camera and Gallery, and rotate images before picking or sharing them

make picking and cropping from gallery work with EXIF orientation

rotate image before editing if necessary (bug 989026)

Fix the single item share feature to rotate images before sharing

add a spinner animation during rotation

Make camera pick work by reducing image size, saving rotated image back to the sdcard, and displaying a spinner during the rotation

Add a build time config option with low-memory profile default so that images picked from the camera on Tarako come out 640x480

downsample in gallery pick activity so that returned images do not exceed the maxPickPixelSize build time config limit

Update gallery and camera share activities to use cropResizeRotate() and CONFIG_MAX_PICK_PIXEL_SIZE

unit tests for cropResizeRotate

address review comments, reduce spinner size, fix gallery share bug

address a review comment and add more tests
Merge pull request #18348 from davidflanagan/bug989290-v1.3t

Bug 989290: handle EXIF orientation in Camera and Gallery, and rotate images before picking or sharing them