Revert "Dump the unit in assert in refineType"

Summary: This reverts commit 359d2fbbeb873bf0f014d745316748f04bb47a51.

Pretty sure this is just breaking stacktraces for the existing crash.

Reviewed By: @ptarjan

Differential Revision: D1509702
Manpage for hh_client

Summary: Debian wants this. `hh_server` and friends to come.

Reviewed By: @elgenie, @JoelMarcey

Differential Revision: D1506481
Fix crash when cloning collection iterators

Summary: HHVM would crash when cloning collection iterators because it didn't have
the proper logic to initialize the native fields in c_VectorIterator,
c_MapIterator, etc.

This diff fixes HHVM to properly implement cloning for collection
iterator objects.

Reviewed By: @bertmaher, @elgenie

Differential Revision: D1505417
Joomla Test Updates

Summary: Closes https://github.com/facebook/hhvm/pull/3530

Reviewed By: @ptarjan

Differential Revision: D1506217
implement VASM emitTLSLoad for non-fast TLS

Summary: emitGetGContext unconditionally calls into emitTLSLoad(..., ..., Vreg)
which didn't previously exist when fast-TLS was unavailable.
Closes https://github.com/facebook/hhvm/pull/3537

Reviewed By: @edwinsmith

Differential Revision: D1509101
Fix kernel version detection for x.y kernels

Summary: Some version of debian is shipping 3.14-1.

Fixes #3513

Reviewed By: @ptarjan

Differential Revision: D1503114
Implement linearSearch for ConstVector.

Summary: @​override-unit-test-failures

Add linearSearch to Pair, which implements ConstVector.

Reviewed By: @paroski

Differential Revision: D1505950
Limit curl timeout to remaining request timeout

Summary: A request shouldn't be able to curl with a greater timeout than the
request itself.

Reviewed By: @markw65

Differential Revision: D1505729
increase the precision of constants

Summary: I have no idea why we were shortening these. I took the new version from ext/standard/php_math.h

Fixes #3529
@​tarjantest

Reviewed By: @paulbiss

Differential Revision: D1507921
Fix DOMText::split to not error on null object pointer

Summary: It tried to add an orphan even when no DomDocument was set. Also porting bug 52656.

Also add an alias to DOMText::isWhitespaceinElementContent
It was renamed to isElementContentWhitespace in the current wc3 recommendation
See http://www.w3.org/TR/DOM-Level-3-Core/core.html#Text3-isElementContentWhitespace

Closes https://github.com/facebook/hhvm/pull/3523

Reviewed By: @ptarjan

Differential Revision: D1506179