DB / Default data loading failed on postgres (#346).
West bound should use value-of instead of copy-of just like the rest.
If metadata contains invalid layer name, when trying to add the layer to the map, it shows a wms layer selection window
Merge pull request #351 from Delawen/wmsdevelop

If metadata contains invalid layer name, when trying to add the layer to...
Delete template / return Cannot export sub template (#352).
Merge remote-tracking branch 'origin/develop' into develop
Merge pull request #349 from riniangreani/identification

West bound should use value-of instead of copy-of just like the rest.
Added ability to create XPATH via EditLib when xpath has a position parameter in one of the  selectors

protection during duplicating metadata.
Merge branch 'develop' into geocat_trunk

Conflicts:
	core/src/main/java/org/fao/geonet/kernel/EditLib.java
	core/src/test/java/org/fao/geonet/kernel/EditLibTest.java