Add --release and related refactoring
auto merge of #140 : rust-lang/cargo/release, r=carllerche