Just after midnight, local time, a magnitude 7.8 quake shook central New Zealand - according to the U.S. Geological Survey - and was felt throughout most of the country.