Add unit test for zend EG(error_reporting) in rval and lval contexts
in zend extension code.

Expose these contexts as PHP functions ezc_get_error_reporting
and ezc_set_error_reporting respectively.