Canadian police have arrested dozens of people after a protest at a shale gas development in the Canadian province of New Brunswick turned violent.