WikiLeaks founder Julian Assange has entered into a plea deal with the U.S. government, bringing an end to a years-long international saga over his handling of national security secrets.