Clean-up index buffer implementation
Add tests for get_primitives_type() and get_indices_type()
Add missing documentation
Merge pull request #136 from tomaka/ib-reform

Ib reform