Fix links to uniforms in ShaderProgram.

Also fix problem preventing doc from being generated for
ArcGisImageServerTerrainProvider.