Implement zend EG(error_reporting).

Use a macro and wrapper class to turn lval/rval use of EG(error_reporting)
into calls to setter/getter methods for class RequestInjectionData.
legacy zend code calls the construct EG(error_reporting) in both lval and rval context.  In this implementation, EG(error_reporting) expands to EG_error_reporting() which expands to a variable of class type ZendWrappedErrorReporting.  In order for this variable to be used in existing zend code, it needs to be convertible to an int in rval context.  (Note that using EG(error_reporting) in varargs context will fail with a compiler error, unless the cast is explicit.)