custom_build: build output goes in the directory for the req, not hard coded to Target

This broke crossbuilds that had Host deps that used custom build
scripts, typically resulting in a failure to link (due to bad
relocations or symbols) the final executable or library.

Probably should have rustc check when generating an rlib that all the
containing objects have the appropriate arch.
Merge branch 'fix-custom-build-cross' of https://github.com/jmesmon/cargo into pr-1012
Add a test for PR #1012
auto merge of #1060 : alexcrichton/cargo/pr-1012, r=alexcrichton
Update git2 and cargo snapshots

Should fix #1032 and #1029
auto merge of #1045 : alexcrichton/cargo/update-git2, r=alexcrichton

Should fix #1032 and #1029
Register new snapshots

Should fix the mac bots
auto merge of #1064 : alexcrichton/cargo/snapshots, r=alexcrichton

Should fix the mac bots