Giving to nonprofits engaged in education, health, arts, culture and humanities, the environment, and animals reached all-time highs.