Partially revert bf8056a8c32f0a7dbc99e94fd1a4727c8fe3cdd2 "Fix NH-2673, NH-1090, NH-1344" plus some later changes that depend on it. Will port refactored result transformer handling from Hibernate instead.
Refactor to make handling of ResultTransformer more similar to Hibernate by porting their ef46a4efb77a7028500801a9db2a2c398e7e6b7f:
HHH-5424 HHH-5425 : Put ResultTransformer in QueryKey only if data is transformed; PropertyAccessException when caching 1 result per row
Port result transformer handling from Hibernate (dc00c4dcde1bae399a9350bd4a13f9a2a449f6c3) (NH3363).
NH2673/CachingWithTransformerTests.cs: Enable ignored tests for NH2961/3311.
Merge branch 'oskarb-NH-3363'