Added state cache and some getters in OGL renderer
Added accessors for SpriteMaterial members
Temp: Batch triangles inside ARX_DrawPrimitive()

Workaround until LordSk branch is merged