fix optional footer

When no footer was present, clayoven would print "\n\n[1]: " due to a
bug.  Fix this bug, and make the footer really optional.
tighten regex for index_files
compute indexfill, an optional field