Clean up TGA decoder
TGA: add read funcs that also fetch attribute type
Refactor API: return a struct

- can painlessly return info about alpha type
- can extend in the future (return more info without breaking API)
- calling the reading functions is simpler
Return ints from read_info functions instead of long
Readme