GLSL Varying Attributes

The OpenGL GLSL target will run a Halide Func on a screen filling quad inside the fragment shader of a GLSL program. This branch adds passes during lowering and GLSL codegen to identify linear expressions that may be pulled out of the fragment shader. These expressions are evaluated per-vertex, as varying attributes, and then interpolated across the image by the GPU. The branch also contains changes to pack scalar parameters into vec4 uniform and varying attributes.

The code in this branch will interact with the specialized_branched_loops branch, to support piecewise linear expressions.  It will also interact with the upcoming GPU runtime API refactoring.

PTAL
snprintf has caused nightmares on various platforms, to the point that we stripped out all variadic functions. E.g. they basically don't work on windows and native client. I don't see where you've used it though, perhaps this is vestigial code.

Anyway, please remove it from here and runtime_internal.h, and use the functions in src/runtime/to_string.cpp instead.