SuspiciousFileValidator: allow war extension
fix unused imports and warnings