Revert "Turn off jemalloc"

This reverts commit 371a316ec93a977f9dcd305b5f532cd394fa6885.

Closes #7217
test: un-xfail now working run-pass/foreign-struct.rs, close #2334.
test: add testcase, close #4929 which was already fixed.
Add tests for cross-crate condition handling. Close #5446.
Try to fix mac valgrind bot by disabling thread-heavy activities.
compiletest: do not run tests in sub-threads if on valgrind.
rustpkg: Un-ignore most of the remaining tests

This necessitated some cleanup to how we parse library filenames
when searching for libraries, since rustpkg may now create filenames
that contain '-' characters. Also cleaned up how rustpkg passes the
sysroot to a custom build script.
rt: make jemalloc header conform to android signature.
auto merge of #8500 : graydon/rust/2013-08-13-self-rollup, r=thestinger

close #8424 r=brson
close #8173 r=brson
close #8209 r=strcat
regenerate configure
jemalloc: use $(AR), not `ar`
auto merge of #8584 : thestinger/rust/jemalloc, r=graydon

This reverts commit 371a316ec93a977f9dcd305b5f532cd394fa6885.

Closes #7217
std: Restore dynamic borrow tracking
auto merge of #8548 : catamorphism/rust/unignore-rustpkg-tests, r=catamorphism

r? @brson This necessitated some cleanup to how we parse library filenames
when searching for libraries, since rustpkg may now create filenames
that contain '-' characters. Also cleaned up how rustpkg passes the
sysroot to a custom build script.
Port lint.rs from oldvisit to <V:Visit> trait API.  Less mechanical port.

That is, there was lots more hacking than the other more-mechanical
ports Felix did.

There's also a strange pattern that I hacked in to accommodate the
Outer/Inner traversal structure of the existing code (which was
previously encoding this by untying the Y-combinator style knot of the
vtable, and then retying it but superimposing new methods that "stop
at items").  I hope either I or someone else can come back in the
future and replace this ugliness with something more natural.

Added boilerplate macro; all the OuterLint definitions are the same
(but must be abstracted over implementing struct, thus the macro).

Revised lint.rs use declarations to make ast references explicit.
Also removed unused imports.
remove trailing whitespace to placate make tidy.
add line break post dbaupp review.
auto merge of #8638 : pnkfelix/rust/fsk-visitor-vpar-defaults-step5, r=huonw

"non-mechanical" : there was lots more hacking than the other more-mechanical ports Felix did.

r? @huonw.  (Or @nikomatsakis ; I just want someone to sanity-check this.  Its not a thing of beauty.)

Followup to #8623.  (See #8527, which was step 1 of 5, for the full outline.  Part of #7081.)

Notes on the change follow.

There's also a strange pattern that I hacked in to accommodate the
Outer/Inner traversal structure of the existing code (which was
previously encoding this by untying the Y-combinator style knot of the
vtable, and then retying it but superimposing new methods that "stop
at items").  I hope either I or someone else can come back in the
future and replace this ugliness with something more natural.

Added boilerplate macro; all the OuterLint definitions are the same
(but must be abstracted over implementing struct, thus the macro).

Revised lint.rs use declarations to make ast references explicit.
Also removed unused imports.
auto merge of #8463 : brson/rust/borrowck, r=nmatsakis,nikomatsakis

r? @nikomatsakis
Prevent Send, Freeze, and Sized from being manually implemented. Close #8517.