South Sudan President Salva Kiir and his rival Riek Machar sign deal that will take effect within 72 hours.