copy node creation, startup, web-ui from toolbed

Now "bin/petmail create-node" and "start" and "open" all work. The web
control panel is all broken. The DB schema is a bit weird.