mermaidd, the daemon, as a library: the scheduler, the listeners, the
subscribe stream and the JSON API. The binary in src/bin/mermaidd.rs is
a thin entry point over run. Everything a server does used to live in
that binary, where nothing could reuse or unit-test it.