Fears of financial contagion are causing extra concern in Spain which had its credit rating downgraded on Thursday.