The violence in Libya and Egypt is now a subject in the US presidential campaign.