Add a unique index between application and version on AppVersion (bug 1007544)

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