Fix #175 : embedsMany duplicates are identified by key

The `exists` attribute is not enough reliable to detect duplicates in embedsMany documents. I just wrote a small `contains()` method that is used instead.