Muhammadu Buhari’s life tracked dramatic changes over decades – and he was often at the centre of events.