The Islamic State, building on al-Qaeda's example, has put social media at the heart of its strategy to capture territory in Syria and Iraq, with a sustained, coherent and powerful communications strategy.