Remove Resource[Data]'s dependence on complex-types.h

Also remove type-array.h's dependence on type-string.h

Reviewed By: @jdelong

Differential Revision: D1210268
Remove simplifyConst cases on unequal types

A lot of the cases in simplifyConst are no longer relevant as our IR
arithmetic/bitop insts no longer take cells. We used to have IR like:

  Add(Null, StaticStr("123a"))

and we'd want to fold it, but now we have:

  AddInt(ConvCellToInt(Null), ConvStrToInt(StaticStr("123a")))

Reviewed By: @edwinsmith

Differential Revision: D1205298
Add skip() and skipWhile() methods to Iterable interface and friends

Reviewed By: @elgenie

Differential Revision: D1205486
Untangle ref-data.h from complex-types.h

Can include ref-data.h directly now.

Reviewed By: @jdelong

Differential Revision: D1210494
Add take() and takeWhile() methods to Iterable interface and friends

Reviewed By: @dariorussi

Differential Revision: D1202217
Remove type-string.h's dependence on complex-types.h

And actually have type-string.cpp include it.

Reviewed By: @elgenie

Differential Revision: D1210577
Prepend unix:// to redis socket paths (as needed)

Match Zend behavior

Closes #1918

Reviewed By: @ptarjan

Differential Revision: D1210627
Make IntlDateFormatter->parse() second arg optional

Match Zend

Closes #1957

Reviewed By: @ptarjan

Differential Revision: D1210617
Implement ICU ResourceBundle

Per Zend version

Reviewed By: @ptarjan

Differential Revision: D1210463