Replaced ConcurrentReaderHashMap with java.util.concurrent.ConcurrentHashMap
Ignore the tests relying on classes in the org.dom4j.dom package
Specify the encoding for the tests to fix the unmappable character error with Java 7
Merge pull request #3 from ebourg/fix-tests

Test compilation failures
Merge pull request #2 from ebourg/backport-util-removal

Replace ConcurrentReaderHashMap with java.util.concurrent.ConcurrentHashMap
Apparently a fix that is in the createSingleton(String name) class is not applied in createSingleton(). It causes the getInstance to throw "java.lang.ClassCastException: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory" whenever there is class loader mismatch.
More reasonable error message, since it will show on the build log.
Merge pull request #4 from rnowosielski/DifferentClassLoadersIssue

org.dom4j.DocumentFactory.getInstance throws
idea ignore
deploy to jenkins-ci repo
releasing 1.6.1-hudson-4