Resolve AMD and CommonJS dependencies on load
Merge pull request #36 from ptgolden/resolve-dependencies

Resolve AMD and CommonJS dependencies on load