History professor Gudni Johannesson wins Iceland's presidential election with 39.1 percent of the ballots, according to final results announced on public television channel RUV.