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

Cancel and replace PR#320
So this is only to create images for themes, right? Maybe change the name to specify that, and add a docstring?