Markets around the world rallied on Friday after the Spanish government announced budget cuts and an increase in taxes.