World leaders hailed Sunday a "historic" nuclear deal with Iran as a triumph for diplomacy, but cautioned the hard work was just starting to keep Tehran from building a bomb.