Added a TEX texture image format and loader.

- Allow to save and load images in the correct format using NIO.
- Divided by 10 loading times (it remains to handle texImage2D and
generateMipmaps() …. that take *a lot* of time).
- Also changed Timer to provide a global timer.
- Corrected Timer to be able to nest measures.