Central African Republic signed a peace deal with 14 armed groups on Tuesday following two weeks of talks in the Sudanese capital Khartoum.