Core: Refactoring of XPathCheckBuilders to make it more reusable for different protocols, for now http&jms

move common part to core and add extra test for XPath for http