Remove the now-unneeded texture manager.

This also breaks the dependency on layers.
Merge pull request #31 from pcwalton/no-texture-manager

Remove the now-unneeded texture manager.