Some pupils were sent home for the day following the threats to schools in Scotland including Glasgow, Edinburgh, Fife and the Highlands as well as in Northern Ireland.