When loading thumbnails, we fetch the actual file data so we can find EXIF data in JPEGs
and do suitable rotation fixes.
This currently uses binary strings via FileReader.readAsBinaryString, but that's not
implemented in IE 10.
Workaround uses FileReader.readAsArrayBuffer and converts to a binary string in case
FileReader.readAsBinaryString is missing but readAsArrayBuffer is there.
Patchset 2: fixed bug number, expanded details
Patchset 3: cleaned up
Patchset 4: summary fix
Patchset 5: whitespace clean-up
Change-Id: Ia0258f5f400a2a52a484f33fbffed7d848245d22