cubicweb #1381485 [reload/devmode] captured module globals go away on reload [open]

This is a bit annoying as we can't write closures on module objects (the work around is it create a local reference first, which can be ugly).

Couldn't we replace the existing module objects with the freshly loaded module objects ?

prioritynormal
typebug
done in<not specified>
load0.500
load left0.500
closed by<not specified>