Default method for factory to create a buffer with data

Added a new default method to the GLBufferFactory that creates a new
OpenGL buffer and writes the specified data to it immediately.