Merge pull request #154 from rwcarlsen/res-this

updated modules to create resources with this ptr instead of context
made all dummy resources be created as untracked. Better mass conservation with resource inventories.