Allow an ExternalGraphic to be used instead of the GetLegendGraphic service in the WMS GetCapabilities LegendURL

Web UI changes were also made to allow editing this from the StyleEdit and StyleNew pages.