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

...ith custom legend urls

/!\ This pull request relies on https://github.com/geoext/geoext/pull/74