The National Security Agency gathers intelligence to keep America safe. But leaked documents reveal the NSA's dark side — and show an agency intent on exploiting the digital revolution to the full.