MongoDB: ensure that to-manys inside embedded entities use reference map...

...ping spec.

* Added test case checking both reference:false and reference:true cases
* Checked all places creating DBRefs - others are fine.