Added methods to release GL textures, misc fixes
Added elapsed time control in flushDeletedTextureObjects
Added unit test to TextureManager, fixed bad access in release loop
Merge pull request #166 from jtorresfabra/releaseGL

Fixes for TextureManager and releaseGLObjects