Add support for default currency precision.

Use currency-specific precision defaults. It would be nice to use rounding data as well, but looks like our JS number formatter doesn't support rounding option at the moment. 
would it be better to extract this shared hash sets from each file?