SONAR-926 Update CPD plugin to not rely on project.getLanguage[Key]()
Fix PathPattern on Windows