catch all PHP errors, throw them as events, log and mail them