Replace all token instead of first occurence

This patch allow `$.t('__FOO__ and __FOO__', {FOO: 'foo'})` to translate to `foo and foo` instead of `foo and __FOO__`.

I replaced the `replace` call to a simple `split/join` which act as a `replaceAll`. I didn't use a global regex so we don't have to escape special character and split/join has better performance.