Fixed patch wireframe now also using VBO

Introduced new IndexedVertexBuffer which is an index-based parallel to
VertexBuffer (using glDrawElements instead of glDrawArrays). Refactored several
common VBO tasks into separate functions in new render/VBO.h.