add CLI test: no network, just arg/response parsing
add CLI frontend for "invite" command
add (stub) backend for "invite" command
tests: factor out BasedirMixin, NodeRunnerMixin