DO NOT MERGE! - WIP #603: Generate DummyParents.js in packager

Note that with this change, a given dummy parent might be created
twice, due to the separate packaging of internal dependencies,
external dependencies and the project code.

THIS CAN (AND WILL) POTENTIALLY OVERRIDE A PERFECTLY VALID PARENT!