Modify test runner to dump translated shaders

This change adds a test runner feature that dumps translated shaders
while running glsl conformance tests.

For each test, a summary json file is created which has all the
information like original shaders, test description, whether shader
should compile and path to translated shaders.

For all the glsl test shaders that compile successfully, translated
shaders are dumped to separate files so that it can be fed directly
to the compiler.

All the translated shader and summary files are compressed into a
tar.gz at the time of finishing tests.

New test runner command line option --dump_shaders is added and it
needs to be passed for dumping translated shaders.
Merge pull request #4 from NVIDIA/apatole-dev

Modify test runner to dump translated shaders
Ternary Operators in Global Initializers

Add a test to verify that ternary operators can be used in global initializers.

Fragment shaders are of the form:
  precision mediump float;
  $(type) green = $(green);
  $(type) black = $(black);
  $(type) var = (true) ? green : black;
  void main() {
      gl_FragColor = $(asVec4);
  }

In order to pass, program should successfully link and output green.
Merge pull request #728 from RafaelCintron/ternaryOperatorsInGlobalInitializers

Ternary Operators in Global Initializers
Rename 'finishTest' to 'finishIndividualTest'

This change renames 'finishTest' to 'finishIndividualTest' to avoid
any confusion with already existing 'finish' handler. And also
added comment describing finishIndividualTest.
Merge pull request #5 from NVIDIA/apatole-dev

Rename 'finishTest' to 'finishIndividualTest'
Added conformance tests to check using WebGL canvases as texture sources.
Merge pull request #729 from toji/webgl_canvas_texture_source

Added conformance tests to check using WebGL canvases as texture sources
Merge pull request #726 from NVIDIA/master

Modify test runner to dump translated shaders
Add shader link validation test for variant/invariant varying mismatch.
Clean up some of the setTimeout() in the tests.

Some should be replaced with waitForComposite,
some should be replaced with requestAnimFrame,
some should use the timeout 0 instead of a positive value.
Add comments pointing to the spec.
Merge pull request #730 from zhenyao/varying

Add shader link validation test for variant/invariant varying mismatch.
Use wtu.checkCanvasRect when we can.
Merge pull request #731 from zhenyao/timeout

Clean up some of the setTimeout() in the tests.
Merge pull request #732 from zhenyao/clean

Use wtu.checkCanvasRect when we can.
Fixed dates on new tests and removed unused codepaths
Merge pull request #733 from toji/date_fixup

Fixed dates on new tests and removed unused codepaths
Move invariant related tests into a new file and add more cases.
Fix year in disclaimer.