A major nonprofit ranked U.S. companies for doing the best for their communities, workers, and the environment, and Salesforce and PayPal made huge jumps from last year.