Sudan looks to lessons from the Arab Spring to balance civilian demands and military rule