Fix a huge performance regression in the jobstatus page

The renderBuildStatusIcon function was looking at the resultInfo and schedulingInfo of each build, causing a SQL query for every build in the result.

Created by  Eelco Dolstra  on November 29, 2011
J7EE2XZAB5EZICAZGZ6DKM4JDMH73A5AJIW6INYMWJHENIGVANQAC
Change contents