Rework index layouts
Merge pull request #8 from tomaka/new-index-buffers

[WIP] Rework indices layouts