Scots care home worker threatened to 'shank' colleagues and