Adjust JP2 encoder parameters.

Re-enable tile sizes with a check on the number of resolutions. Possibly fixes creating corrupt files.
Add JP2 destination options for quality-based compression and selection of irreversible colour transform.
Select the reversible ICT option if we're converting scans to JP2.