fix test failures on mock==0.7.2
fix test failures on mock==0.6.0
Added caching the results of getRecentBuilds() method - should speed up grid page generation
fix pyflakes
Merge branch 'grid_speedup' of git://github.com/JustAMan/buildbot