WIP for getting the renderversion right for Ajax calls
Addresses #1193. correct garbage collection of Ajax-created functions
Assign to @dpp
Thanks. I've tested this on our app with several layers of ajax-generated functions and it all seems to work :-)
I'm wondering if it's possible to unit test some of this stuff. It seems quite hairy and not always immediately obvious what the issue is or what the semantics are.