Blow away corrupt database repos

If a repository is corrupt, blow it away entirely and start from scratch instead
of returning an error.
auto merge of #501 : alexcrichton/cargo/issue-480, r=brson

If a repository is corrupt, blow it away entirely and start from scratch instead
of returning an error.

Closes #480