It's possible there was some cheering at Google (s goog) this week, when the search giant announced a deal with the Association of American Publishers over its book-scanning project, but it's more likely there was just an overwhelming sense of relief, since the deal amounts to a truce in what has been a grueling seven-year battle. For almost a decade now, Google…