Issue #3517808 by nicxvan, smustgrave, alexpott, ghost of drupal past: Allow Traits to define modules for install during tests (cherry picked from commit bb6ce4e4)