Added interface for OpenGL objects that are referenced by index

Keepin' it simple with the first few check-ins.  This interface
specifies the index by which an OpenGL object can be referenced.  This
is common in a lot of OpenGL objects like buffers, textures, programs,
and shaders.