Merge pull request #25 from motivator/attr_cmp

make __eq__ compare more than just key/value
do not compare number - kad mentions this might not fit with the rest of number's use