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. 
Yes, it is in my list of things to do. I'll get to it after I've taken care of implementing some features.