NH-3596 - DistinctRootEntityResultTransformer breaks Cache

https://nhibernate.jira.com/browse/NH-3596
Fix for QueryOver and unit test
HQL still not working
That's not what was in the unit test that I migrated.