Fixes multiple named defines in a single bundle.

If you have multiple named defines in a single package, this commit should properly register them to `System.defined`.

If multiple anonymous defines are in a single file, it will throw a warning like:

"system.js - multiple anonymous defines for [MODULE-NAME] module";