Have the shader generators generate modern GLSL if available.

This opens up to use other modern features like dual source alpha later.
Fix bugs in stencil2alpha, fix bugs in glsl 3 support, enable dual source blending where available

The stencil2alpha bug fixes fix some glows in Wipeout, dual source fixes the rest.