Create a "MasterFlags" API object, to be used for storing per-component

command line flags (issue #1627).