CellSens: initial support for reading internal pyramids

Fix loop over the number of resolutions

Fix optimal tile size reporting for subresolutions

Do not allow subresolutions to overwrite tile dimensions

Make image reading consistent regardless of the flattened resolution setting

Make sure tile coordinate hash codes are consistent

Fix thumbnail reading for unflattened resolutions
Prevent channel count from being incorrect for subresolutions
Fix endianness/interleaved settings for subresolutions
merge dev_5_0 -D org -I include -E exclude: PR 915 (Fix for single channel  meas_mode 13 data.)
merge dev_5_0 -D org -I include -E exclude: PR 941 (Fix the download URL for stable release jars)
merge dev_5_0 -D org -I include -E exclude: PR 943 (Log the expected and actual values in failed metadata tests)
merge dev_5_0 -D org -I include -E exclude: PR 946 (Read internal pyramids from CellSens .vsi data)