Simplify command line and options processing.

Remove some special case flag processing and rely on commander.js more.
Move referrer option from System to options.js.
```js
flags.option('--modules <' + moduleOptions.join(', ') + '>',
    'select the output format for modules',
    (moduleFormat) => {
      options.modules = moduleFormat;
    });
```