Fixes for ReleaseGLObjects. 

Fixes for TextureManager and relase of textures/orphaned texture objects. It fixes #148 and #162. Also it relase texture memory on the pagedLOD.