The ceasefire announced between the US and Iran may have averted an even worse crisis - for now - but an emboldened Tehran now knows it hold the joker in the pack