Added very basic XPathFactoryPool to prevent a new factory being instantiated for every xpath