Classified documents provided by Edward Snowden showed that the NSA was garnering private user information by piggybacking on “leaky” apps such as Angry Birds that collect data.