server: render file contents with the base template before writing it back out to the user
server: update serveDirectory to list elements in html
server: serve index files when only a directory is requested
server: fix a comment to be more clear