Add equals method to Violation.

`return serialize(this) === serialize($otherViolation);`