Better TM2 management

Implemented support for 24bpp images and corrected color's channels
order for palette. There is still some works to do, but little by little
the support for TM2 will be complete.
IMG format for KH1 implemented with its viewer