ZF2 error handler to catch all php errors as an exception thrown to the app.