Add parameter information to webgl_constants.
Rewrite of getParameter().
Move from per-name handling to per-type handling, with most of
the helpers gone, replaced by a much simpler type switch.
Add WebGL 2.0 parameters for getParameter().
Looks like there are some errors in the spec, like missing constants.
WebGLSampler not implemented yet.