Reworked Texture.

With an eye to http://evanw.github.com/lightgl.js/docs/texture.html