refactor glDrawElements

- refactor glDrawElements
- added support for GL_TRIANGLE_STRIPS
- TODO: Convert glDrawArrays to use the same code to generate triangles from triangle list/triangle strip
Merge pull request #8 from tepGithub/patch-5

refactor glDrawElements