Allocate GL objects into Vecs, then slice for return

Since mozilla/rust@7d3b0bf we can't do this with primitive vectors
Merge pull request #80 from robn/vec-slice

Allocate GL objects into Vecs, then slice for return