After relegation fears, historic late victory has goalkeeper jumping in the stands and El Sadar dreaming of Europe