Detecting and Diagnosing Terrestrial Gravitational-Wave Mimics Through Feature Learning