add command to start server

This is copied from _old with minimal change to make it work with v4.
The previous version used hardcoded 'juju' database name and so this
does too.
Merge pull request #60 from jrwren/v4

add command to start server