tornado server
refactored cmdline params
fixed tests
cleanup unused routes
adding back doc_prepare
config_dict function on settings object
bytestring for sockopt
updating comment
removed print
Merge pull request #1374 from bokeh/feature/server_startup_cleanup

Feature/server startup cleanup