Last week when Salesforce announced it was buying ClickSoftware for $1.35 billion you might not have realized it, but the law firm Shearman & Sterling was advising Salesforce throughout the deal. In fact, there are lawyers involved in every transaction of…