Google coddles its employees with free food, massages and other lavish perks, yet some of its best engineers still grouse about their jobs and bosses as they struggle to get assignments done. The Internet company tackled the puzzling problem with a study that concluded how teams work together is more important than who is on a team. That’s not exactly rocket science, but it’s an example of how companies are spending more time trying to…