Clean up code
Merge branch 'ResultTransformer' of https://github.com/DmitryNaumov/nhibernate-core into ResultTransformer