Cloud computing company Salesforce.com reported a return to a profit in the first quarter, driven mainly by higher subscription revenues, partly offset by a stronger dollar. Quarterly earnings topped Wall Street estimates, while revenues a tad above expectations.