Minor rework of uniform enumeration.

Add uniforms(...). Enumerates uniforms.
Add uniform(...). Returns a specific uniform.