!UPSTREAM: mesa/cs: Add a MESA_SHADER_COMPUTE stage.

This patch also updates switch statements to avoid spurious compiler
warnings.

TODO:
- Document this better
- Merge with later switch statement fixes
- Clean up warnings
i965/cs: Allow ARB_compute_shader to be enabled via env var.

This will allow testing of compute shader functionality before it is
completed.
glsl/cs: Handle compute shader local_size_{x,y,z} declaration.
!UPSTREAM: Random updates

TODO:
- Organize and comment.
WIP: glsl/cs: implement generate_cs_special_vars()
mesa/cs: Create the gl_compute_program struct, and the code to initialize it.
i965/cs: Create the brw_compute_program struct, and the code to initialize it.
mesa/cs: Implement MAX_COMPUTE_WORK_GROUP_COUNT constant.
glsl/cs: Prohibit user-defined ins/outs in compute shaders.
glsl/cs: Prohibit mixing of compute and non-compute shaders.

Fixes piglit test:
spec/ARB_compute_shader/linker/mix_compute_and_non_compute
mesa/cs: Handle compute shader local size during linking.
main/cs: Implement query for COMPUTE_WORK_GROUP_SIZE.