Be sure to include --extern for dev-deps and examples
auto merge of #1097 : alexcrichton/cargo/dev-deps-for-examples, r=brson