Added serve command to the CLI.

Adds ability to start up the embedded server to serve a repository through the
web api.