• webgl: Make the api return the context limits and use them for valida…

    …tions
    
    This allows keeping the VertexAttrib* calls asynchronous.
    
    Another option would be to do the validation in the apply() function,
    but that'd require us passing an unnecessary channel around and add
    extra synchronization.
    
    The counterpart of this is that it has to be updated when the context
    changes, but that's less problem.
    emilio committed Apr 2, 2016