Fill in the rest of WebGL 2 query spec and fix small errors

For Issue #544.