The former Formula 1 boss has told the Leveson Inquiry that he took the News of the World to court to "demonstrate they were liars".