[trunk] Make sure when reading POC that number of layers (layer end) is within acceptable bound.
Fixes issue 80
[trunk] Simplify code when reading in TIFF images
[trunk] TIFF files in test suite can have 1 or 3 components
[trunk] Add debug info to be able to test integration with littlecms
[trunk] Make sure to use 8bits buffer when applying the ICC profile.
Fixes issue 281