issue #19552: Make all toOne relationships be nested by default. Fix some errors in orms.
Merge branch 'master' into 19552
Merge branch 'master' into 19552
Merge branch 'master' into 19552
Merge branch 'master' into 19552
Remove dead code
Merge pull request #56 from jrogelstad/19552

issue #19552: Always nest toOne relationships by default so reports and forms have everything they need.