Implement kattcmd repair command
This command should attempt to repair any damaged file/directory in a repo. It would be best, I think, if it had a lot of user interactivity, because the repair process would be a bit tricky and in tricky cases it is good to ask intelligent and clear questions to the user.