Remove the usage of the global ConfigFlags in egamma. Also delete some unused factories.
ConfigFlags
Much more cleanup is needed here to make this code CA-compliant.
cc @dbakshig @tbold