Rename LdGbl/StGbl to LdLocPseudoMain/StLocPseudoMain

Summary: In preparation for having a LdGbl and StGbl that operates on $GLOBALS.

Reviewed By: @alexmalyshev

Differential Revision: D1644200

Signature: t1:1644200:1414528842:67b90e3cd851addda579ef303673dbdcbc2136b0
Make prediction opts deal with arbitrary load/check instructions

Summary: Still peephole sort of thing, but now can do arrays and new load/check
instructions that I'll be adding.

Reviewed By: @ottoni

Differential Revision: D1644693
Fix some problems in Type::operator-

Summary: Type::operator- was potentially removing valid values from the result.
E.g. Int - Int<24> or Obj - Obj<Foo> would return Bottom, or
Array=(MapLikeConstant) - Array(RATPacked) would return Bottom.  This could
easily do something incorrect (if that type flowed to the wrong place, we could
e.g. fold a CheckType<Int> branch or something incorrectly based on it).  It
also was sometimes going the other way: if you subtracted a specialized array
from another specialized array, you'd get back Type::Arr, which is
unnecessarily too big (we know *this - x can't ever be any bigger than *this).

I was a little bit afraid about how we might be using this stuff---but an audit
found no uses where the right hand side wasn't a constant type that was
unspecialized (it's mostly about removing Null or Uninit from things, so I
think we're likely to be ok).  I would rather have function called
"remove_null" (or whatnot) do that sort of thing so it's clear what we're
trying to do, though---this function seems too easy to misuse...  It is
incorrect to use it with arbitrary types that you didn't control if you aren't
ok with a - b returning a after this diff (and before this diff it's incorrect
to use it in that situation because it aborted on some inputs).

Reviewed By: @markw65

Differential Revision: D1645584
Remove DUnbox dest type

Summary: No longer used.

Reviewed By: @alexmalyshev

Differential Revision: D1647527

Signature: t1:1647527:1414617442:dcf3dbf25bae4dc56ceed58602e8c54f550523af
Remove PtrToGen from FunctionSuspendHook

Summary: Only callsites seem like they should always be passing a FramePtr.
Change them.

Reviewed By: @jano

Differential Revision: D1647517

Signature: t1:1647517:1414706625:5b5abd1d3aaef35dc008cb63567073d794cccc2b
Remove incCategory from guard-relaxation.h

Summary: Not called externally.

Reviewed By: @edwinsmith

Differential Revision: D1650439

Signature: t1:1650439:1414709373:f9b681fb38a4226c7d13511d86b10a07fa10aa36
Missed one case for "LdGbl" rename (in a string)

Reviewed By: @alexmalyshev

Differential Revision: D1650578

Signature: t1:1650578:1414707402:67764bfac490a7bb1e3bbd6d98b4b7ea936ce2d1
Conisder include path in parse_ini_file

Summary: Fixes #4069

We should consider current include path from ini settings in `parse_ini_file`, as described in [4069](https://github.com/facebook/hhvm/issues/4069).

Reviewed By: @ptarjan

Differential Revision: D1647897

Signature: t1:1647897:1414743941:c752d145e4b043197f44e43ef8ad86123d48bd37