Fix bugs and restore the homepage rendering

This fixes bugs in the bootstrapping function and restores homepage
rendering to how it came out of the box.

It seems our bootstrapping function doesn't fit the Express 4 API as
well as we'd like, but I don't think we'll find much trouble updating
it.