[WIP] prevent appversions duplicates (bug 1007544)

Fixes [bug 1007544](https://bugzilla.mozilla.org/show_bug.cgi?id=1007544)

This is the "reloaded" version: it needs the fixtures fixed, as there's plenty
of duplicates created.