Implemented equality between Documents and DBRefs
Fixed document equality: documents in different collections can have equal ids.
Merge pull request #567 from tomprimozic/master

Implemented equality between Documents and DBRefs