Improve logging, PEP8 cleanup

This PR uses the logging module to print messages on stdout, rather than print statements.  This improves support for the --quiet mode on the server.

It also includes PEP8 cleanup on the start_server.py script.