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

Added capabilities document tests for functionality added by volaya in #155.