Disable remote repositories when their update permanently fails

Merged username-removed-26331 requested to merge grote/repomaker:disabled-failed-remote-repos into master

The new disabled state does not have any effect, yet.

Later we might want to do things such as not allowing the user to add apps from disabled repositories.