A primary school in Oldham has been recognised for its mental health and wellbeing provisions for pupils and staff.