[kongo/model] add #== and #<=> methods