Implemented reference counting for textures.
Fixed texture refernce issues.
Implemented reference counting for meshes.
Fixed stupid typo.

Since Mac OSX is case insensitive, everything seemed to work.
Implemented reference counting for models.
Implemented reference counting for shader stuff.
Marked Model:remove() as unimplemented.