A close call in Northern Virginia revealed just how poorly data centers respond to grid disruptions. Here's how to fix the problem.