Issue #1380: Add codegen capability to create equals() and hashCode() methods for POJOs.

This change tries to solve issue #1380 by adding an option to create basic equals() and hashCode() methods to generated POJOS.