Islamic extremism is on the rise in West Africa. Uncontrolled borders and endemic poverty will make it difficult to stop it spreading