Fix ShaderManager & TextureManager Bug

ShaderManager had memory problem while calling addPair.
TextureManager had memory leaks in function Shutdown()