Adding tests: collecting informations about tex header. Removing debug output in toTexture(), and removing palette part which is not useful (already present in TextureFile.
Removing depth, palette w and palette h from meta data, cause it's already present in TextureFile. Fixing bug when saving tim: bytesPerColor overflow.
Renaming header to _header. Adding a constructor and a function to fill the header with few values (version, hasAlpha and fourBitsPerIndex)