Updates .gitignore files.
Unseal a uselessly sealed case class.
Seals some case class hierarchies.
Adds a hashCode method to the Settings class for Ant.
Adds equals and hashCode to three classes that implement Ordered.
Merge pull request #2693 from lexspoon/semmle-lint

Lint-like fixes found by Semmle