Logger: Error/Exception Handler: fixed 3853 & 4456

see #3853 & #4456

I also noted that `Zend\Log\Formatter\Base::normalize($value)` can result in an infinite loop if called with self referencing array - but this is another issue.