McDonald's shareholders rejected proposals from Carl Icahn who voiced concerns over the treatment of pigs.