I heard that GL wanted the Endor battle to be a parody of the Vietnam War, with the Stormtroopers representing America and the Ewoks representing the heroic Viet Kong. He also meant for Darth Vader to represent Richard Mo Nixon and the Emperor to represent Betty Ford.
I realize this is a joke, but I could actually see George Lucas trying to say he was going for that.