Refactor glsl-conformance-test runner so it uses setTimeout

This way it won't timeout the browser.