Wendy Davis reports: Google has agreed to settle a class-action lawsuit alleging that it leaked the names of search users via referrer headers, according to court papers filed on Friday in San Jose, Calif. The settlement agreement calls for Google to donate $8.5 million to four schools and nonprofit organizations — Harvard Law’s Berkman Center…