Combine module deps with metadata deps when registering

This allows metadata deps to become first-class dependencies for all
module formats. Fixes #223
Merge pull request #248 from matthewp/meta-deps

Combine module deps with metadata deps when registering