Enable closing of connections

Adds a nrepl-close command to close the current connection.

Maintains a list of connections, in order to know whether to disable nrepl
interaction mode, and in order to set a new default connection if one is
available.