Weakref bug & possible fix.

I found a bug in the way mongoengine uses the `weakref` module in the `_instance` attribute of `EmbeddedDocument`s. I attach a test that reproduces the bug, and a possible fix (however, I don't know what the rationale for existing code was, so I'm not sure if the fix is appropriate).