SAN FRANCISCO (Reuters) - Facebook Inc has agreed to pay $10 million to charity to settle a lawsuit that accused the site of violating users' rights to control the use of their own names, photographs and likenesses, according to court documents made public over the weekend.