Those behind a suspect device which forced the evacuation of a Derry primary school on its final week of term have been condemned as “reckless”.