Eight people have been arrested after a terror attack on the British parliament on Wednesday, which killed four people and injured 29 others, police say.