Pass argc and argv to modules

This lets modules parse options from the command line.
8 files changed