Correctly use KHR and OES suffixed functions for debug output and VAOs, if necessary. Allow overriding the detected GL version for feature detection (nvidia gives me an ES 3.2 context even when ES 2.0 is requested, so...)