test for null nodeids
create unique namespace entry and check membership

the functionality is required for the addnode service
small cleanups
Structure and first features for service_addnodes

This is a half-finished service. I commit it for comparison with
the other services that are currently implemented. Maybe there is
some commonality we can exploit.
initial structure for transaction support