hydra-update-gc-roots: Get Builds and BuildOutputs in the same query

This greatly reduces the number of roundtrips to the database.

Created by  Eelco Dolstra  on June 11, 2015
YAT6VX542JXMSSS642S52K72636L7IM3F6ZDHCOUUB3325S7NHOQC
Change contents