Allow the default key to be unavailable

This solves the issue where no default key can be added after -salvagewallet.
Merge pull request #2566 from sipa/nodef

Allow the default key to be unavailable