Further Format of the search webpage.

Made name segment and version template for reusing the codes in blobIndexEntry and commitIndexEntry
Made a CollectionKey field for the blobIndexEntry to hold the Hkid of the repository or domain.
Linked the collection key shown in the search page to the Repository (for commits) for now.