fixed issues with exiting layers being listed to be added to the map again. Some refactorying.
catching couple of special cases where geocode config is problematic.
renamed ‘label’ to ‘title’ and going through to make names safe to use as a target
reducing dependance on layer.metadata.title as id. added meta.nameUniqueAndSafe which should be used instead to uniquely identify a layer. two servers might have identical layer names namespace:layername.  meta.nameUniqueAndSafe will work for all layers.
wired up refreshing of layer titles in the particle case where geonode doesn’t pass in layer title (only when creating a map from a layer) and it needs to be resolved after a get capabilities call to geoserver.
Merge remote-tracking branch 'origin/layerImprovments'