Democrat Terry McAuliffe wins Virginia governor's race, CNN projects