Added support for scalar integer uniforms.
Replaced switches with type info arrays.
Removed some duplicate type info.
Removed rendering without SharedProgramState.