Update PMD to 5.1.0 (fixes #1179)
Fix #1174 "Generate Abstract Syntax Tree" always run in JDK 1.4 mode