One of the biggest leaks in U.S. military history has exposed several cover-ups over the war in Afghanistan, including the deaths of hundreds of civilians.