Changed the Texture class to take a renderer instance rather than
a raw webgl rendering context to support use of extensions.

Implemented Extension class to encapsulate use of extensions.

Implemented support for anisotropic filtering.

Adjusted all plugins that create new Texture instances to fit.