Thousands of people have rallied in Canada to denounce Islamophobia and express support for a Muslim family recently killed in a brutal attack described as a hate crime.