fixes #2

cannot extend ModuleDependency, because it defines a group of
dependencies with the same resource. We need to define our own resource
group for rewired modules.
offer correct this to modules
Merge pull request #3 from sokra/fix-2

Fixes #2