Make sure we don't break < PHP 5.3
Fixed ZTS mode.
Make sure we don't serialize NULL.
Added serialized support in stack traces too.
Added test cases for the serialized format and stack traces.
Fixed test cases. It's "xdebug.collect_return" and not "xdebug.collect_returns".