gitk: Implement batch lookup and caching of encoding attrs