Skotland og England spillede VM-kvalifikationsrundens mest underholdende og dramatiske kamp, som først blev afgjort til allersidst.