zk history writer: less verbose zk error logging

* Do not log stack traces for connection losses.
* Use CONNECTIONLOSS instead of APIERROR in test for less spam in logs.
zk registrar: less verbose zk error handling

Do not log stack traces for connection losses.