Give the correct call when creating vertex array object.  Added more error tests.
Give the correct call when creating vertex array object.  Added more error tests.

sensics/OSVR-RenderManager,sensics/OSVR-RenderManager,sensics/OSVR-RenderManager