NH-3596 - DistinctRootEntityResultTransformer breaks Cache

https://nhibernate.jira.com/browse/NH-3596
Fix for QueryOver and unit test
HQL still not working
should be

`"select r from Role r left join r.Children left join r.Parent where r.Parent is null"`