Explosions were heard in Tehran, following weeks of military buildup and warning rhetoric from President Donald Trump over the country's nuclear ambitions.