Added caching the results of getRecentBuilds() method

The change should speed up grid page generation.
Also cleaned a bit the code that dealt with some lists - IMHO list comprehension is much easier to understand than map()/filter() stuff. :)