Allow currency prefix and suffix.

This commit allows the currency symbol to appear either at the beginning or end
(or both, but that should be rare).
Add tests for d3.locale.
Merge branch 'locale' into 3.4