codeintel: Avoid ref description collisions
Created by: efritz
This makes the git for-each-ref
query in code intelligence features to behave resiliently when there are multiple descriptions for the same commit.
Previously, we would only associate a revhash with the last description we saw. Now, we associate it with all of them. Users of this method have been updated.