Formerly classified documents reveal an ambitious $330-million project to upgrade US military bases in Africa