Ultimately though, I think the sad state of schools in this country is a (big) symptom of society's greater ills. Rampant corporatism, anti-intellectualism, and creeping authoritarianism from a runaway security industrial complex have been happening for decades... and schools are just one aspect of the decay of the social fabric.
I can't help but get the feeling that a dystopia is congealing around us with no way out politically. A lot of intellectuals have foreseen the ills of unbounded capitalism that are really starting to set in now, but I don't think anyone has proposed a credible solution.
See: this entire thread, in which the solution to corporatization of the university is almost automatically assumed to be adding more capitalism.
Texas and others developed their own standards, for example.
Teacher wages approaching subsistence level is just the next step in the McDonaldization of education. Even the teachers are just another brick in the wall.
Or to take examples in a different way: Spain and Ireland's issues were mostly caused by a housing bubble.
1: http://www.dst.dk/pukora/epub/Nyt/2014/NR300.pdf (in Danish, but it would go under the "Brændsels -og smørestoffer o.l." category)
And if you look at the history of the state education system, it was largely modeled after the Prussian education system, set up by the king, which "attempted to instill social obedience in the citizens through indoctrination [...] The purpose of the system was to instill loyalty to the Crown and to train young men for the military and the bureaucracy." [1] And I would argue that the school system serves a similar function today.
Based on the goals of social obedience and instilling loyalty to the state... Well, I think in those terms our education system is doing quite well.
[1] http://en.wikipedia.org/wiki/Prussian_education_system