Get VertexBuffer working again

Adapted VertexBuffer to OpenGL 2

The shape class is still not able to draw itself. The Triangle class still handles most of the drawing.