moved name uniqueness check to catalog dialog

Fixed issue when deleting workspaces (it was not deleting dependencies)
always add workspace name (use resource worskspace name) to create WFS layer uri
fixed publishGroup method
Fixed repeated dependent elements in warning dialog when deleting a geoserver element element
added test data and unit tests