Fix a double append bug when the project configures classesDir to be equal to resourcesDir

Hello,

When the classesDir and resourcesDir are equal, files to merge are appended twice; this was due to `getFatJarFiles()` not testing for equality on added paths.

This pull request includes both a test demonstrating the problem, and a proposed fix.