Plans for a children's home in Annfield Plain, Stanley, have been refused by Durham County Council.