Localization with i18next.js

Fixed some invalid json in the translations; also delayed instantiation
of some classes that were causing i18next to fail. Locale is currently
hard-coded to ‘en’ in app.js. This will be fixed in a subsequent commit.