Added a parameter system when loading textures.

- Added a way to specify a set of mip-maps images instead of generating
them.
- Added an premultiplied alpha mode in textures.
- Added more parameters for textures.
- Updated all uses of the texture class.