Swap arguments to Variant(StrongBind) constructor.

Summary: Makes it more obviously not a copy constructor.

Reviewed By: @​bnell

Differential Revision: D1736780

Signature: t1:1736780:1418412688:5e1020b8428f8c1515cabd7e3940e480e8b9fea7
Remove stale comment

Reviewed By: @swtaarrs

Differential Revision: D1733797

Signature: t1:1733797:1418321212:7a870bb70399c95c676aaed32665ea26f18cd794
Remove lots of includes from hphp-system.h

Summary: It didn't need any of them. Also, stop including it
everywhere. Then add includes back where necessary.

Reviewed By: @alexmalyshev

Differential Revision: D1738819

Signature: t1:1738819:1418544522:c277c8eeef6301c51a36931c37684bf9f31653f0
Use tvhelpers in type-variant

Reviewed By: @markw65

Differential Revision: D1738993

Signature: t1:1738993:1418582273:9f72c386e45e1c3bf1f0cc392d0269130a3753cd
remove tvRefcountedDecRefCell()

Summary: tvRefcountedDecRefCell(TypedValue*) and tvRefcountedDecRef(TypedValue*)
are essentially the same; consolidate them.

Reviewed By: @markw65

Differential Revision: D1738995

Signature: t1:1738995:1418586315:8035f05164dda4b55f58b71bb1f77de6ff905bfb
Allow hex in mb_encode_numericentity

Summary: PHP 5.4 added an additional `is_hex` parameter to `mb_encode_numericentity`. We should
support it now given that we have also just updated our `libmbfl` library.

Fixes #4247

Reviewed By: @sgolemon

Differential Revision: D1691911

Signature: t1:1691911:1418418614:0e3f630d326c3a7488be152bea1dd1e3df7224ba
Check Eval.JitAMaxUsage when deciding whether to start profiling a function

Summary: Optimize translations bypass Eval.JitAMaxUsage to avoid running
Profile translations forever, but that can potentially lead to
code.main getting much bigger than Eval.JitAMaxUsage.  To avoid this
issue, this diff checks the TC usage when deciding whether to start
profiling a new function.

Reviewed By: @markw65

Differential Revision: D1734032
Fix lexer rules for XHP identifiers

Summary: This fixes how the typechecker's lexer deals with XHP identifiers to match
HHVM. Most notably, XHP identifiers are not allowed to end with a hyphen or
a colon.

Reviewed By: @int3

Differential Revision: D1739223

Signature: t1:1739223:1418616156:87575bcda7d550bec63584c14b373549fe5c3831
Add deprecation warning to fb_autoload_map

Summary: Been documented as deprecated for a while, but new callers come in.

Reviewed By: @jdelong

Differential Revision: D1720790
Reduce the number of warning flags used for naming/.

Reviewed By: @elgenie

Differential Revision: D1739225

Signature: t1:1739225:1418660966:b3b86239e815e1fd81ff4abfb8b2a525427e9b8d
ResourceLimit.SerializationSizeLimit can be overwriten from the vhost config

Reviewed By: @markw65

Differential Revision: D1712716