Improving the add-ons generator to deal with apps (bug 1080145)

Cancel and replace PR#320
Might be overkill/over-engineering, but maybe we could provide a list of locales, and then:
```
translations = dict((locale, '({locale}) {name}'.format(locale=locale, name=oldname)
                    for locale in locales)
translations['en'] = oldname
item.name = translations
item.save
```