If a reference is a DBRef, append .$id and set the value to the correct type
Merge new doctrine version
Use DateType in UoW to skip equivalent date values

Closes #349.
Fix findAndModify hydration after initialization and "new" option
Fix #386 - prepareQueryElement and complicated set impossibility
	Fix #386 - prepareQueryElement field name is collection row pointer
phpstorm files
Remove phpstorm files
Remove phpstorm files
Merge remote-tracking branch 'upstream/master'
Added support for 'set' startegy
Added support for custom ID generators.
Fix wrong set strategy with embed many collections
Serialized the distance field
Serialized distance field only if it exists and added tests
Add test coverage for ReferenceMany on gridfs files.
Merge pull request #412 from yvann/master

There was an issue when using the @distance field for geospatial queries and metadata cache
Merge pull request #402 from extr3m0/master

Added support for custom ID generators
Merge pull request #401 from asafdav/master

Added support for "set" strategy in loadReferenceManyCollectionInverseSide
Merge pull request #358 from doctrine/uow-date-comparison

Use DateType in UoW to skip equivalent date values