Added capability detection for vertex arrays and uniform blocks

Alright, but its going to emit a dead code warning.