Get hhvm compiling with clang-3.5

Summary: This really wasn't that bad. A few mistaken uses of abs(), a few
functions unused except in debug mode, and some apparently-redundant
bool conversions.

Reviewed By: @meyering

Differential Revision: D1546566
Update third-party for modified folly build
Disable wordpress crons

Summary: See inline comments.

Reviewed By: @ptarjan

Differential Revision: D1550868
Various test fixes in zend/dom

Summary: Import various files used by dom tests
Add hhvm.libxml.ext_entity_whitelist to ini

These are all used in tests. None of them turn good after this unfortunately.
Closes https://github.com/facebook/hhvm/pull/3732

Reviewed By: @sgolemon

Differential Revision: D1550349
Adds arch dependent include dir to LIBMAGICK(CORE|WAND)_INCLUDE_DIRS

Summary: The last version uploaded in debian has some arch dependent include dirs.
Without them, the compilation fails with a message like:

 fatal error: magick/magick-baseconfig.h: No such file or directory

See:
 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=747907
 http://www.cmake.org/Bug/view.php?id=15007
Closes https://github.com/facebook/hhvm/pull/3735

Reviewed By: @sgolemon

Differential Revision: D1551212
Update .hhi files for ConstSet, Set, and ImmSet

Summary: This diff updates the .hhi files to reflect the changes from D1435557.
There was also a bug introduced by D1435557 which removed "Container" from
the list of interfaces implemented by ConstSet; this diff fixes this bug
by adding "Container" back to ConstSet's list.

Reviewed By: @elgenie

Differential Revision: D1551381
typechecker: match return types, even with php parent

Summary: Facebook: enabled by www conversion efforts over the past few months

Reviewed By: @jwatzman

Differential Revision: D1542002
don't emit warnings when we can't bind

Summary: I fixed it so they can actally bind, but it shouldn't emit when it does succeed

Reviewed By: @JoelMarcey

Differential Revision: D1551415
Only call ThreadInfo->init once per thread

Summary: `init_thread_locals()` is actually called on every request. Becase ThreadInfo::s_threadInfo should persist across requests, we don't need to call init() every time.

Reviewed By: @edwinsmith

Differential Revision: D1550754
Diff formatter

Summary: Adds the option --diff to the formatter.
Typical usage: hg diff | hh_format --diff

hh_format --diff takes a diff on stdin and reformats the parts of the files
that have changed (in place).

There are cases where the formatter can affect more lines than the ones
that appeared in the diff.
Let's consider this diff:

   $x = array(
  -  1,
  +  23,
     3
   );

The formatter will consider the entire statement as an indivisible block.
In other words, it's going to reformat the entire statement; despite the
fact that only one line within that statement was modified in the diff.

Reviewed By: @elgenie

Differential Revision: D1450288
Fix MacOSX build in ext_apc

Summary: Config::Bind() doesn't have size_t/time_t specizations.
The MacOSX compiler is more sensitive to this and won't use the
int64_t/uint64_t versions.  Just use int64_t for both.

Reviewed By: @ptarjan

Differential Revision: D1551324
Don't let any instructions sneak in between call/syncpoint/unwind

Summary: The call, exception-edge, and syncpoint are logically all in the
same program point. Until they're smushed together into one vasm
instruction, assert nothing gets between them.

Reviewed By: @alexmalyshev

Differential Revision: D1547922
Remove unnecessary copying in various Dbl ops

Summary: Now that they get virtual registers, we can rip out a bunch
of shuffling code that was making sure values were in good
registers before and after doing an operation.

Reviewed By: @oyamauchi

Differential Revision: D1549800
Force the linker to keep symbols in lowmem on MacOSX

Summary: We can't reach them from the TC with offsets
if they're way up there in 0x0000000100000000 and higher...

Closes #3642

Reviewed By: @ptarjan

Differential Revision: D1552243
Force the php5/ng opcache to on

Summary: Docs say it's on by default, this doesn't appear to be true.

Reviewed By: @JoelMarcey

Differential Revision: D1552557
use hostname instaed of localhost for benchmark requests

Summary: Changes what wordpress does for 301s in an unrealistic way

Reviewed By: @JoelMarcey

Differential Revision: D1552555
Move vasm traces to its own trace mod

Summary: There might be something smarter to do but for now this should be
slightly improved.

Reviewed By: @edwinsmith

Differential Revision: D1552900
Migrate MySQL configs to ::Bind

Summary: Doing this proactively now for a few sites in order for my bad ini node diff to work without a lot of test runner `.expect` changes.

Plus this is the right thing to do anyway.

Note: I removed the `IniSetting::Bind` line because that is now duplicative to the new `Config::Bind` line above it.

Reviewed By: @ptarjan

Differential Revision: D1547854
Remove ini refactoring parameter artificat

Summary: Before `FillInConstants` I had overloaded `Set` to the chagrin of some. I forgot to actually remove `constants_only` as a paramater to `Set`.

Reviewed By: @paulbiss

Differential Revision: D1548688
Better fix for the static property race

Summary: If two threads tried to initialize static properties
for a derived class at the same time, and both tried to initialize
same same persistent property, the second one could overwrite
the property's value with garbage.

Reviewed By: @edwinsmith

Differential Revision: D1552834