The site of former school and schoolhouse is to be sold by Glasgow City Council to a housing developer.