Add the preferLowPowerToHighPerformance context attribute
Clean up webgl-test-utils.js

Fix behavior when automatically determining the type of a shader.
Previously the second shader in setupProgram could get assigned the type
of the first shader in case only the type of the second shader was
specified in its script tag, possibly resulting in confusing errors.

The shaderType logic in loadShaderFromScript was also needlessly
complicated, so simplify it.

In addition, fix some typos, add missing docs, and remove duplicate of
setupSimpleTextureProgram.

These fixes are meant to ease development of new tests, and aren't ported
back to earlier versions of the test suite.
Clean up fullscreen related functions in webgl-test-utils.js

Remove unnecessarily complicated findElement sub-function, make
fullscreenStateNames private to the function that uses it, put docs where
they belong and add in missing docs.

Only manual/framebuffers-keep-contents-exiting-fullscreen-mode.html is
using this functionality of the test utils, and has been tested to work
with these changes.

This change is meant to ease development of new tests, and is not ported
back to earlier versions of the test suite.
Move preferLowPowerToHighPerformance into 1.0 latest spec
as suggested by Ken. Copy declaration into 2.0.
preferLowPowerToHighPerformance in 2.0 IDL also.
Merge pull request #378 from grorg/preferLowPowerToHighPerformance

Add the preferLowPowerToHighPerformance context attribute
Merge pull request #382 from NVIDIA/test-utils-fixes

Test utils fixes