Test sampler array using loop index in a separate test.

In WebGL 2, sampler array using loop index is not allowed anyway, and this is a very specific driver bug, so I put a new test under glsl/bugs, with added "break" code to test loop unrolling if it is applied.
Fix a bug
Add a comment and fix a bug.
Merge pull request #480 from zhenyao/loop

Loop