return a currency code for a given locale.
the locale for which you want to the currency code, e.g. getCurrencyCode('en-US') -> 'USD'