Auto merge of #2359 - matklad:metadata-no-deps, r=alexcrichton
authorbors <bors@rust-lang.org>
Fri, 5 Feb 2016 20:52:49 +0000 (20:52 +0000)
committerbors <bors@rust-lang.org>
Fri, 5 Feb 2016 20:52:49 +0000 (20:52 +0000)
closes #2356. The output is not exactly the same as with `read-manifest`, because I wanted to include the `version` field.

Tests and implementation is a copy-paste from `read-manifest` except that [this line](https://github.com/rust-lang/cargo/blob/master/src/bin/read_manifest.rs#L36) is omited, because `root_package` [does update anyway](https://github.com/rust-lang/cargo/blob/master/src/cargo/sources/path.rs#L51).


Trivial merge