Add support for multiple repos with conflicting apps/apks
Right now, if there are conflicts between repo indexes, the last one to modify the DB wins. This is not too good. We should:
- Add a way to order the repos in the repo screen by priority (like higher is more important)
- Modify the DB to identify apps by e.g. (appid, repoid) instead of just (appid)
- Modify the DB to identify apks by e.g. (appid, vercode, repoid) instead of just (appid, vercode)
The last two are just what comes to mind, but there may well be better ways to do it. Long story short, we want to have all the data and want the user to be able to see all the info and install the same version from multiple repos.