GRAPHICS: Move vertex/index state into Vertex/IndexBuffer.

This will come in handy when porting GUI code to use buffers and adding VBO support.