jpeg2000: Various improvements
Renamed bmputil to fmtutil
Renamed bmputil to fmtutil (part 2)
De-duplicated some code for handling Exif and Photoshop resources