THRIFT-1742 Optionally implement hashcode and equals in c#

Patch: Carl Yeksigian
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/thrift