Test source equality when locking dependencies

When applying the lockfile to a resolve graph, we need to take into account that
the listed source of dependencies can change over time, in which case we cannot
lock to the previous version but instead need to continue onwards with updating
the listed source.

Closes #951
auto merge of #965 : alexcrichton/cargo/issue-951, r=brson

When applying the lockfile to a resolve graph, we need to take into account that
the listed source of dependencies can change over time, in which case we cannot
lock to the previous version but instead need to continue onwards with updating
the listed source.

Closes #951
Support documenting a selective package
Print the right URL for `cargo login`

Closes #968
auto merge of #972 : alexcrichton/cargo/issue-969, r=huonw

Closes #969
auto merge of #973 : alexcrichton/cargo/issue-968, r=huonw

Closes #968
Merge remote-tracking branch 'upstream/master'