Remove jump dests

Attempt number 2. This time I made (I think) all the simplifier changes
I needed to make. Some of them seem slightly sketchy (our existing APIs
don't seem to have great support for transforming instructions into
other instructions in-place), but I managed to convince myself that
they're all correct.

Reviewed By: @swtaarrs

Differential Revision: D1182517
Add plumbing for stream metadata; implement for php://

Match Zend. refs guzzle/guzzle#538

Reviewed By: @ptarjan

Differential Revision: D1185448
Mention the deprecation of IDL

Mention the deprecation of IDL and link to more up-to-date
docs.

Closes #1928

Reviewed By: @ptarjan

Differential Revision: D1193032

Pulled By: @scannell
Revert "switch over a bunch of ini settings to once-per-thread registration"

This reverts commit f2557c8eef53143d72064f43acd1e946256aa645.

This is a very hand-edited revert so I didn't have to revert all my changes ontop.

Reviewed By: @jdelong

Differential Revision: D1192750
Fix icu lint

Fix icu lint (variable case mismatch)

Reviewed By: @sgolemon

Differential Revision: D1194411
Fix CodeModel output for trait alias statements

TraitAliasStatement outputs 4 or 5 properties, however, the object header was
given 3 or 4.

Also updates the relevant class in HH\CodeModel, as it expected a 'traitName'
property to be output, however that property was optional.

Closes #1916

Reviewed By: @hermanventer

Differential Revision: D1191675

Pulled By: @scannell
Move string-handling functions from util.h to text-util.h

Reviewed By: @jdelong

Differential Revision: D1192153
Fix build on OSX

Fix build on OSX

Reviewed By: @JoelMarcey

Differential Revision: D1194216
Use folly::nextPowTwo instead of roundUpToNextPowerTwo()

And, move assert_native_stack_aligned() to translator-inline.h

Reviewed By: @alexmalyshev

Differential Revision: D1192268
Disable flaky zend test

Reviewed By: @bertmaher
Implements double_encode in Htmlspecialchars

Implements double_encode check at '&' char when iterating over string. Identifies utf-8 entities by default (PHP 5.4+).

Fixes #1857
Closes #1862

Reviewed By: @scannell

Differential Revision: D1180187

Pulled By: @ptarjan
Remove Type::None

This is all pretty mechanical after removing jump dests. I had to
replace None with Bottom in two places: the default constructor of Type
(which seems like it shouldn't exist but I'd rather try to deal with in
another diff), and the output type of a DMulti instruction. DMulti is
only used for DefLabel, which will just have placeholder dests until it
receives incoming edges. The Bottom dests will disappear before the end
of initial IR generation, so I think it's not that bad.

Reviewed By: @swtaarrs

Differential Revision: D1189637
Fix race condition between 2 tests reading/writing the same file

TSIA

Reviewed By: @ptarjan

Differential Revision: D1182830
kill SetGlobalDefault

Instead we'll have two identical data structures. One global and one thread-local to hold the ini bindings for SYSTEM and USER respectivly.

Reviewed By: @fredemmott

Differential Revision: D1186908
property_exists should always check for static properties

It previously skipped that check when an object was
passed in.

Closes #1922
Closes #1924

Reviewed By: @scannell

Differential Revision: D1194316
Add ::Get helper for ini

Some callers don't care if the get succeeds or not and are
capable with dealing with an empty string instead.

Reviewed By: @fredemmott

Differential Revision: D1194054
switch datetime to thread-time binding

Reviewed By: @fredemmott

Differential Revision: D1194055
switch session ini to thread-time binding

Reviewed By: @fredemmott

Differential Revision: D1194057
switch icu to thread-time binding

Reviewed By: @fredemmott

Differential Revision: D1194058
switch pcre to thread-time binding

Reviewed By: @fredemmott

Differential Revision: D1194059