Merge branch 'master' into core
Restructured VertexBuffer code and implementend remaining functions.

- Moved setting data to a private function
- Set indices to the GPU before using them.
- Implement addIndices and addVertics
- Tested that all changes work
Merge branch 'core'