When world powers (known as the P5+1) and Iran announced that they had agreed on the parameters of a deal , the celebrations soon began.