Opposition wins control of National Assembly by a landslide, delivering major setback to the long-ruling socialists.