A new study finds that after decades of stagnation, fast-food and other restaurants finally saw a surge in productivity.