Kraft Foods has agreed a deal with activist investor Nelson Peltz following the appointment of two more independent directors.