Adding styles object to layer record to let the GeoExt::WMSLegend deal with custom legend urls
Using layerName in styles to tell the GeoExt::WMSLegend to use a specific url
Using layerName in styles doesn't require to set defaultStyleIsFirst to false
Merge pull request #498 from pgiraud/wms_legend

Adding styles object to layer record to let the GeoExt::WMSLegend deal w...