Add an event buffer for debugging

Use nrepl-log-events to control logging.
Address review comments
Ensure sent message id is logged
Close nrepl-event-buffer-name on nrepl-quit

Also calls nrepl-close-ancilliary-buffers on nrepl-quit, which was missing.