add l10n tools (bug 896792)

What it does ?

* Outputs the `locale/templates/LC_MESSAGES/messages.po`
* Generate langpacks into `src/locales`