Add ability to write to buffers and to resize when capacity is exceeded to VBO

Signed-off-by: Kristian Duske <kristian.duske@gmail.com>