cjdns: service tweaks, new NixOS test

@viric I made us a test.

I added another patch to the package, until cjd merges upstream branches.
https://github.com/cjdelisle/cjdns/commit/d8d0733e3ef31d4358d0869b87900d03115591f7
tests/