Update WebGL debug

Made glFunctionArgsToString handle optional arguments so for example
it can print texImage2D with 6 arguments vs with 9 with the correct
arguments as enums
Merge pull request #277 from greggman/update-webgl-debug

Update WebGL debug