Turn server.js into a module

Add a new ./server shell script to start the server from the command
line; start the server in-process in test_integration instead of out of
process.