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

Includes fixes to various orm problems discovered when nesting became default behavior.