Implemented support for primitive types
Implemented support for arbitrary index sizes
Merge pull request #196 from kvark/mesh

Mesh enhancements: effective primitive type and index size