Remove duplicate 'get state' operations
Use same logging for starting servers
API checks keys when notified...

But the answer is always "no". See the next commit.
Fix 'construct a FK if you can' operation
Merge pull request #111 from anchor/wip-logging

Use logging in server startup; also fix notify API call to check keys