pmd: fix #992 Class java.beans.Statement triggered in CloseResource rule
pmd: fix #997 Rule NonThreadSafeSingleton gives analysis problem
pmd: fix #984 Cyclomatic complexity should treat constructors like methods
pmd: fix #985 Suppressed methods shouldn't affect avg CyclomaticComplexity
pmd: fix #977 MisplacedNullCheck makes false positives
pmd: fix #976 UselessStringValueOf wrong when appending character arrays
pmd: fix #968 Issues with JUnit4 @Test annotation with expected exception
Thanks to Yiannis Paschalidis
pmd: fix #975 false positive in ClassCastExceptionWithToArray
pmd: fix #999 Law of Demeter: False positives and negatives
pmd: fix #1027 PMD Ant: java.lang.ClassCastException