Updates database-server project ready to move it to Heroku

Adds package.json to declare dependencies, and updates our unit tests so
we don't leave a http server running at the end.
Adds Procfile, which Heroku will use to run the server.