President Hassan Rouhani is visiting Europe, meeting the pope, inking business deals and signaling that Iran is again engaging with the world.