Added ability to start and stop jobs. Also added database registration of a cluster when we run the couchdb_control_server on a host. Refactored to have the server main loop in its own file.