Utility for determining object equality, based on Apache Commons EqualsBuilder