By reusing the same XPathFactory over and over again, we get a performance boost

This performance improvement made my tests about 15% faster.