Fewer ugly messages when removing/upgrading non-existent mods.

This PR includes #329, as I'm working on the new registry format locally.
This probably shouldn't be merged until #329 has been.

Closes #313.

28289ae, db42331 and 56890f3 are the actual commits that do the work here.