Canada has introduced a new law that aims to combat online abuse - including life in prison for inciting genocide.