Africa's homegrown militants are embracing a global Al Qaeda ideology.