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

Cancel and replace PR#320
Please use `_created` instead of just `_` to avoid shadowing the hypothetical gettext import.