Analysis of over eight million tweets in hours after attack shows deep divide in sentiment towards refugees and Islam.