Freeze PMD version, configure rulesets
Freeze PMD version, configure rulesets

Set fixed PMD version to 5.1.3. It's the latest one seems to be working
with the Gradle plugin. All after 5.2.0 crashes.

Specify rulesets explicitly. Add basic and braces rulesets.

raindev/benjamin