A nationwide emergency alert coincided with a string of major outages. Homeland Security has an explanation, and a warning.