cargo/new: add `--travis` flag
ffix build on nightly rust
cargo/new: add test for `--travis flag; also update Cargo.lock
Do not pass static lib targets to rustc
auto merge of #508 : carllerche/cargo/static-lib-and-bin-bug, r=alexcrichton

rustc cannot take .a files, so don't pass them
Revert "cargo/new: add test for `--travis flag; also update Cargo.lock"

This reverts commit 4ee5fd352a0071f4200fe9f3dfa4aeebfe164c18.
cargo/new: add a test for the `--travis` flag
Merge with upstream and update Cargo.lock

Conflicts:
	src/bin/new.rs
	src/cargo/ops/cargo_new.rs
auto merge of #505 : suhr/cargo/cargo-travis, r=alexcrichton

This implements https://github.com/rust-lang/cargo/issues/489 and fast-fixes https://github.com/rust-lang/cargo/issues/504.

PS: why &* thing is now explicit? This change is rather surprising for me.
Implement `features`

This feature was outlined in #385 [1], and documentation has been included as
part of this commit.

[1]: https://github.com/rust-lang/cargo/issues/385#issuecomment-53917539
wip