Merging changes from geocat 1.1.x
Added ability to create XPATH via EditLib when xpath has a position parameter in one of the  selectors
Add tests and fix compilation