Rename zuul-server zuul-scheduler

This is what we call it.

Change-Id: If4ae79eddff9151979271ae7faf4348014528e46
diff --git a/setup.cfg b/setup.cfg
index 7ddeb84..bd76d8b 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -21,7 +21,7 @@
 
 [entry_points]
 console_scripts =
-    zuul-server = zuul.cmd.server:main
+    zuul-scheduler = zuul.cmd.scheduler:main
     zuul-merger = zuul.cmd.merger:main
     zuul = zuul.cmd.client:main
     zuul-cloner = zuul.cmd.cloner:main
diff --git a/zuul/cmd/server.py b/zuul/cmd/scheduler.py
similarity index 92%
rename from zuul/cmd/server.py
rename to zuul/cmd/scheduler.py
index ff9f2d9..e5497dc 100755
--- a/zuul/cmd/server.py
+++ b/zuul/cmd/scheduler.py
@@ -35,9 +35,9 @@
 # Similar situation with gear and statsd.
 
 
-class Server(zuul.cmd.ZuulApp):
+class Scheduler(zuul.cmd.ZuulApp):
     def __init__(self):
-        super(Server, self).__init__()
+        super(Scheduler, self).__init__()
         self.gear_server_pid = None
 
     def parse_arguments(self):
@@ -160,7 +160,7 @@
             self.start_gear_server()
 
         self.setup_logging('zuul', 'log_config')
-        self.log = logging.getLogger("zuul.Server")
+        self.log = logging.getLogger("zuul.Scheduler")
 
         self.sched = zuul.scheduler.Scheduler(self.config)
         # TODO(jhesketh): Move swift into a connection?
@@ -218,31 +218,31 @@
 
 
 def main():
-    server = Server()
-    server.parse_arguments()
+    scheduler = Scheduler()
+    scheduler.parse_arguments()
 
-    server.read_config()
+    scheduler.read_config()
 
-    if server.args.layout:
-        server.config.set('zuul', 'layout_config', server.args.layout)
+    if scheduler.args.layout:
+        scheduler.config.set('zuul', 'layout_config', scheduler.args.layout)
 
-    if server.args.validate:
-        path = server.args.validate
+    if scheduler.args.validate:
+        path = scheduler.args.validate
         if path is True:
             path = None
-        sys.exit(server.test_config(path))
+        sys.exit(scheduler.test_config(path))
 
-    if server.config.has_option('zuul', 'pidfile'):
-        pid_fn = os.path.expanduser(server.config.get('zuul', 'pidfile'))
+    if scheduler.config.has_option('zuul', 'pidfile'):
+        pid_fn = os.path.expanduser(scheduler.config.get('zuul', 'pidfile'))
     else:
         pid_fn = '/var/run/zuul/zuul.pid'
     pid = pid_file_module.TimeoutPIDLockFile(pid_fn, 10)
 
-    if server.args.nodaemon:
-        server.main()
+    if scheduler.args.nodaemon:
+        scheduler.main()
     else:
         with daemon.DaemonContext(pidfile=pid):
-            server.main()
+            scheduler.main()
 
 
 if __name__ == "__main__":