Made Templates for formatting the Index webpage

Made templates to replace all the formatting functions created earlier
Made the fields of BlobIndexEntry, CommitIndexEntry and TagIndexEntry public for the template