Added PMD and CPD tools
- pom.xml: added PMD and CPD plugins.
- WorkflowRunner: fixed a PMD issue.