Tobi was planning to have the war without edo tensei in the first place before kabuto came in, so the war isnt over yet
Not only that, there will assumably be another 1-2 Arc's with the "Invasion of Konoha III" where sasuke will finally have his attempt on the leaf. (assuming that Itachi did not do anything "other" (many ppl speculate..) to sasuke than poke his head, again??). The Fourth Shinobi War is definately not the last Arc, and perhaps sasuke will be on madara's level by than (due to severall other things like; suigetsu's scroll etc. thing yet to be unfold).
Im far from a sasuke fanboy but i do think he's been building up to be the last antagonist rather than a "friend-rival" cliche role.
I dont care whether its nonsense or not, just saying my 2 cents.