pingo. Read index buffer data from geometry file

This change only reads the data without creating the index buffer yet.
It is an initial step to implement loading indexed geometry.
Adds the read index buffer method to geometry manager.
pingo. Fixes to geometry manager read vertex buffer.

Use auto array to read vertex buffer vertex data. The solves a memory leak that happened because the vertex data read was never deleted.