I18n currencyFormat helper: add the currencyPattern attribute and extend the unittest

To change the currency output by the optional pattern.