NEW YORK—The Bill & Melinda Gates Foundation donated $10 million to the organization that grew out of the hashtag #GivingTuesday in part to fund a database of charitable giving and other acts of generosity. GivingTuesday, the organization, has helped people realize there is a lot they can give, said foundation co-founder Melinda French Gates in…