Former Prime Minister Raila Odinga spent the better part of the recent months celebrating what seemed like inevitable victory.