Added capability detection for vertex arrays and uniform blocks

Autodetection is hard and racy, as @csherratt can attest. We might as well aim for 2.0 if we are going to query for supported extensions anyway (which I think we should).