Added GetHashCode, Equals and equality operators

Equality operators not working yet.
Fixed equality operators, removed SPLock-s

They are now declared static, so they are not overridden in C#
Merge pull request #31 from ChrisBrandhorst/master

Added GetHashCode, Equals and equality operators