Business software pioneer Salesforce.com is buying work-chatting service Slack for $27.7 billion in a deal aimed at giving the two companies a better shot at competing against longtime industry powerhouse Microsoft. The acquisition announced Tuesday is by far the largest in the 21-year history of Salesforce. The San…