add 4 npm scripts for translation files management.

- npm run get-pot: extract gettext string to template.pot files.
- npm run merge-po: merge po files.
- npm run update-po: update template.pot and po files.
- npm run gen-po-json: compile message json files.