HSEARCH-1240 Fix a regression in the mass indexer introduced by fixing HSEARCH-1201: we still need to return the initialized object if the proxy was created in the current session
Merge branch 'HSEARCH-1240' of github.com:openwide-java/hibernate-search into HSEARCH-1240

Conflicts:
	hibernate-search-orm/src/test/java/org/hibernate/search/test/batchindexing/IndexedEmbeddedProxyLazyEntity.java
	hibernate-search-orm/src/test/java/org/hibernate/search/test/batchindexing/IndexedEmbeddedProxyRootEntity.java
	hibernate-search-orm/src/test/java/org/hibernate/search/test/batchindexing/MassIndexerIndexedEmbeddedProxyTest.java