Machar's career has been marked by rebellion, ethnic conflict and periods of uneasy peace.