Fix pyobject dyn.module

chg: also minor cleanup (and preparation for moving dyn.modules into /Singular/)