The president of South Sudan and head of the country’s main rebel group signed a final cease fire and power-sharing agreement on Sunday and hailed a new longed-for era of peace in the country.