Moved server.js to lib/app.js
Snap > travis
More restructuring. Integration tests.
Make integration tests actually terminate