Fix embedded hasMany relationship with pushObject

The test ensuring that embedded relationship can get new objects had a
syntax mistake, which resulted in assertions not being run. This commit
changes EmbeddedHasManyArray to use references in a similar way
HasManyArray uses them, which allows to unify their behavior when adding
new records to an association.