pmd: fix #1178 LexicalError while parsing Java code aborts CPD run
pmd/cpd: add skipLexicalErrors and skipDuplicateFiles to CPD's ant task