Return types

This is a pull request to implement the return type RFC: https://wiki.php.net/rfc/returntypehinting

Presently not ready for merge (there are a few bug fixes still needed).
Yes, I think that would save you a lot of trouble here. You can just use `zend_compile_class_ref` and avoid all the manual handling.