Add the beginnings of a detailed HTML output feature.

So far, only the directory indices are created.