Added method to dump currencies to YAML.
Make methods non-static.
Convert minorUnit to subUnits.