update glsl code to 140 standards
While maintaining backwards compatibility at least update our code to use the more modern in/out qualifiers as opposed to attribute/varying Also remove old glsl 120 if statements as we no longer support it and also remove a performance issue in querying the gl major minor version on every shader test.