Exclude IDEA files.
Fix testing for snapshot regression.
Make code more readable.
Add version compatibility checking. AbstractEnforcerRule will skip non-compatible artifacts in case of auto-detection of previous version .
Merge pull request #45 from shuraa/master

Fix regression, skip incompatible version during previous version detection.