Refactor texture rendering.

No more code duplication in Texture and Spritesheet. We can now
either have the texture construct a temporary VBO and IBO or we
can specify our own.