Garbage collection

Better support to profile affects of garbage collection on performance.

Only tested with PHP 5.6 and hierachical profiling so far.

Todos:
- Test with all PHP versions
- Add support for all profiling modes
- Investigate if timing is possible somehow.
this is probably why Travis fails to compile the extension