Made equality respect classes
Added a proper hash method
Merge pull request #3 from markijbema/fix-hash

Added a hash function to StrictStruct, and made equality stricter.