Refactor and speed up realText formatter bootstrap

With English locale, bootstrap of realText passes from 5s to under 100ms
Merge pull request #263 from fzaninotto/faster_realText

Refactor and speed up realText formatter bootstrap