make sysdoc.php not write WarningThis

Also, while I was in there I made the script not spew anything on the terminal.

@markw65 `array_filter` doesn't match the signature from php.net. Should it?
add SessionHandler

In PHP 5.4 they added this class that encased the callback functions. The difficulty came with needing to fallback to the previously registered session handler.

Closes #792
fix all the $_SERVER urls - take 2

I needed to `m_origPathInfo.reset()` in `RequestURI::clear`
Tolerate output spew generated by the readline library on some machines

It seems that on some machine configurations the readline library has the bad idea of spewing some control characters to stdout. This causes failures in any test that is reading from the command line, which currently only happens in debugger tests. Possibly this behavior shows up on the continuous build machines, so we'll make the expected output provide for this variation, just in case.
Adds decl and decw instructions that operate on registers

Cherry-pick of D851076 which was reverted in the OSS
segfault catastrophe.
CreateCont opcode optimization - avoid unnecessary reference counting.

Continuation argument values are copied to the continuation object and the locals are unset - in this way we don't need to change the reference coutners.
Modify lwp tests that try to run php in a subprocess

Open source continuous integration doesn't have php available
to run.
Don't set $env
reflection for namespaced constants

In repo mode this does the right thing and returns the right constant, but for non-repo it thinks it is an undefined non-namespace constant. I'll have to do something more hardcore if that starts to matter

While I was in there, I made the correct name for `ReflectionParameter` that was added in 5.4 instead of the draft we copied.
make test less specific

some machines say `localhost.localdomain`. Think this is good enough?
remove duplciated content

I think you double imported this. It is all in `lwp.php`
remove extra tempname

This fixes the test in travis
zend test upgrades

* change warnings from `%a` to `%s`. This way, we don't eroneously match more than one line for an error message
* import all the 5.5 tests since it is now official

I checked through all the tests that went from good to bad, and each one is correctly failing. Most of them are from us doing the extension calling-convention wrong.

The only thing to review is the change to `tools/import_zend_test.py`
I was using a binary with the new timelib. Undo the datetime tests

Test Plan: ran zend tests
Fix typecheck crashes

We didn't fill in the m_namedEntity field for hiphop-only type
hints in non-hiphop mode, resulting in crashes when we tried to
use them.

Regardless of mode, we didn't check self or parent before
checking a non-object parameter, resulting in asserts in
dbg builds and seg-faults int opt builds.
Mark classes with the same name as a type alias as redeclaring @override-unit-failures

If you have an alias named "Foo", and a class named "Foo" in
the same program, we should not be treating instanceof (and probably
other things) as if the class name is unique.
Delete a couple functions in ArrayData

If you are dealing with const StringData*'s, they convert to
bools and call CVarRef overloads here.  (I'm sure there's others, and
this conversion for CVarRef should go away soon, but we might as well
have this for now to possibly catch bugs ahead of time.)
Beef up type alias mixedcase unit test

Add a few more cases that weren't tested.
Don't put non-Unique classes into the instanceof bitmask @override-unit-failures

We want to throw exceptions if someone does "instanceof Foo",
where Foo is a type alias.  The easiest way to make sure the
instanceof bitmask optimization doesn't get in the way of this is to
not allow it on non-unique classes, assuming this is ok perf-wise.
Foreach phase1: expose collection types to foreach JIT helper

Create a set of templatized functions for iterator over collection and bubbled them up closer to the JIT entry point for foreach.