Modifies the HTTP server to respond to each request with the state of the system.

It does this by moving the functionality of app/app.js to server.js, and creating a function that returns state.getState()