Massive image/texture overhaul.
 - Gamma-correct mip-mapping
 - Added new formats
 - Support signed, int, signed int formats
 - Added support for sRGB/linear colour space distinction
 - Made texture swizzling a flag
 - Improved image loaders
 - Work towards cube and volume texture support