Port the build pipeline and test harness to ES. Fix bug 1030309.

Yet to come: request-time dir listing rendering. Right now, you can't see folder listings, but files are fine.
After the first few minutes, this is still degenerating into a nested maze of chained iterators that's really hard to understand, let alone trace through if it breaks....