Added folder mime-type.
Added function to build paths.
We now page through listings until all shown.

We've also moved all path building to a utility function (and fixed a missing-
slash bug). No longer show a pound sign on folders (bug). When we elect to use
the mime-type for the only download-link available, we make sure to return the
mime-type, now the URL (bug).