Upgrade QUnit to v1.11.0
Tweak unit tests so they run in PhantomJS
Check WebGLFramebuffer so target creation doesn't crash in browsers without WebGL support