Merged this change in. Using DataProxy and TxGenshiContext to replace getObjectData allows everything to be lazy-evaluated, at the moment that the template requires the reference. This also allows us to drop any special handling for Nevow/Athena attributes; it's fine that they are now available for use by the template, since they won't get accessed unless you specifically ask for them in the template.
Merged this change in. Using DataProxy and TxGenshiContext to replace getObjectData allows everything to be lazy-evaluated, at the moment that the template requires the reference. This also allows us to drop any special handling for Nevow/Athena attributes; it's fine that they are now available for use by the template, since they won't get accessed unless you specifically ask for them in the template.