updated modules to create resources with this ptr instead of context

Companion to cyclus/cyclus#626