Added proper hashCode and equals methods in Expression implementations.
Merge pull request #1763 from esarbanis/housekeep

Added proper hashCode and equals methods in Expression implementations.