Faster default branch resolve
Created by: eseliger
We now cache the repo resolver + the default branch resolution, so it's much faster for many file results. For a larger query that returned 15000 file results, the query time was reduced from 1.05m to ~900ms