updated modules to create resources with this ptr instead of context
Merge pull request #154 from rwcarlsen/res-this

updated modules to create resources with this ptr instead of context
companion to cyclus/cyclus#628.