ISIS-414: ensure that sessions can close correctly.

* so don't get HSQLDB locking issues after a stackoverflow failure.
ISIS-413: fix for null LocalDates when rendered.
ISIS-411: eager rendering of properties in RO.

Also includes checking to prevent infinite loops
(eg a bidirectional relationship, both sides eagerly rendered).