make __eq__ compare more than just key/value
Merge pull request #25 from motivator/attr_cmp

make __eq__ compare more than just key/value