clu: fix requiring plugins in CLI mode

This caused the command line to stay open forever because some servers in plugins were running.
api: emitting 'stop' even to die gracefully

Plugins should listen for this even if they keep node
from exiting.