Make auto upgrade careful about breaking changes (fixes #1047)
Merge pull request #1146 from syncthing/fix-1047

Make auto upgrade careful about breaking changes (fixes #1047)