Fix updating the registry too often

It turns out that the registry was being queried with git dependencies as well,
so this commit alters the core registry not query sources with dependencies that
did not originate from the source.

Closes #991
Update to latest Rust
Do not require an API token for `cargo search`
auto merge of #1018 : jakub-/cargo/cargo-search-api-token, r=alexcrichton
auto merge of #1019 : alexcrichton/cargo/issue-991, r=brson

It turns out that the registry was being queried with git dependencies as well,
so this commit alters the core registry not query sources with dependencies that
did not originate from the source.

Closes #991
Merge remote-tracking branch 'upstream/master'