From sci-fi comedies like The Truman Show to spy thrillers like Casino Royale, these movies feature the most satisfying endings in cinematic history.