Tim Southee's New Zealand team earned two places in international cricket history with its dramatic, one-run comeback win over England in the second test.