Use same method to load manifest with doc sub-command
auto merge of #317 : jdeseno/cargo/doc-manifest-path, r=alexcrichton
Update the lockfile when deps are modified

Closes #314