fixing the creation of URL params when baseParams are used
Merge pull request #309 from weskamm/wmslegendfix

fix for duplicated URL params in wmslegend