Add PMD rulesets to project
The 'basic.xml' ruleset has been modified:
- removed 'CollapsibleIfStatements' rule
The 'empty.xml' ruleset has been modified:
- changed the empty-catch rule to allow commented catch blocks
Add .gitattributes to ensure our use of LF line ending