fix Issue #127
fix #146
Merge branch 'master' of https://github.com/firo222/fluent-nhibernate into 127combinedWith146
added unit-tests for edge-case of compiler-generated class being mapped