Fix a null pointer exception when validating metadata
Fix locale redirects.  Fixes delete bug for example
fix for adding new element by xpath

used to always add element to end even when that was the incorrect placement
Possible fix for deleting elements with transaction
Fix for REference System Code disappear after csw-T update

Fixes: https://jira.swisstopo.ch/browse/GEOCAT_SB-57
Fix duplicate alt name in GM03 export

Fixes: https://jira.swisstopo.ch/browse/GEOCAT_SB-66
Fix 2 for duplicate  text in GM03 export

Fixes: https://jira.swisstopo.ch/browse/GEOCAT_SB-66
Fix lookup of metadata with a particular extent
Fix editing validated extents
Merge branch 'geocat_2.2.x' into inspire-editor

Conflicts:
	web/src/main/java/org/fao/geonet/kernel/EditLib.java
	web/src/main/java/org/fao/geonet/web/LocaleRedirects.java