add option skip-duplicate-files

* update pmd to 5.1.1
* add the cpd option skip-duplicate-files

Please consider merging this pull request.
Cheers, corux