Military council and main opposition coalition sign power-sharing deal paving the way for transition to civilian rule.