The Democratic Republic of the Congo and the M23 rebel group have signed a framework peace deal aimed in the at ending fighting in eastern Congo.