South Sudan's warring factions have signed a peace deal its hoped can end conflict that has cost thousands of lives and displaced millions of people