16-bit index buffers

Since OpenGL ES 2 supports 32-bit vertex indices only as an extension, and the engine doesn't really need them, this patch makes index buffers use 16-bit indices.