Bug 836109 - speed up jpeg metadata parsing

This pull request fixes error messages that were appearing in the console when parsing JPEG files with malformed EXIF data.  And it also speeds up jpeg metadata parsing by skipping some EXIF tags and just drilling down directly to the embedded preview image, which is the only EXIF metadata we need.