Fixing/improving some things/behavior about WMS vendorParams, geonetwork template and AddLayer plugin