From terror attacks to natural disasters, firms face various crises that could knock them out of commission. But planning can keep recovery efforts from becoming disasters of their own.