Principal foes in the Libyan strife have committed to a conditional ceasefire and to work towards holding elections next year in talks chaired by French President...