Pass generator body Func* to c_Continuation::alloc()

Pass generator body Func* to c_Continuation::alloc(), which is then
passed to the new helper that computes ActRec offset.
disable ext-filter/049.php

We don't serialize doubles correctly in the repo, so this test passes on first try, and fails on second try.
make test runner match php style

fixed lint finally (since we didn't have lint when i authored this)
Run shutdown handlers before running request-exit cleanup

Shutdown handlers can run user code (e.g. the session stuff serializes
the session and can pass the serialized blob to user code to do
something with), so it's generally not safe to run them after
requestExit(). In particular, requestExit destroys global variables, and
the session serializer reads $_SESSION.

My recent diff to get rid of the hardcoded globals exposed this, though
I argue this situation was incorrect all along.
TestExtStream -> php
TestExtString -> php
TestExtVariable -> php
TestExtSqlite3 -> php

Except part of it that SEGVs in the JIT.  (See task.)
TestExtSoap -> php

Except one part that didn't work.  (Tasked.)  Also discovered
a SEGV (tasked).
Added missing PHP SPL classes

Added PHP implementations for PHP SPL classes that are currently missing from HHVM. These include:

- SplDoublyLinkedList
- SplQueue and SplStack
- SplFixedArray
- SplHeap, SplMinHeap, and SplMaxHeap
- SplPriorityQueue
- SplTempFileObject

Closes #807
Don't pass environment variables with "\n" to LightProcesses

A recent diff started (correctly) passing the environment
through to child processes. It turns out our LightProcess implementation
can't handle environment variables with new lines in them, so (for now)
strip out any such variables.
TestExtMailparse -> php
Retry port binds a few times in ext_stream test @override-unit-failures

The ext_socket test actually already does this.
fix typo in SplFixedArray
remove unused platform-specific references

remove unused references to platform-specific code
remove one more dead method

remove another dead method
TestExtOutput -> php
Port TestExtZlib to php

Also fixed the memory leak.
Move TestExtSession to php
Port TestExtOpenssl to php