Make the output size limit configurable

The maximum output size per build step (as the sum of the NARs of each output) can be set via hydra.conf, e.g.

max-output-size = 1000000000

The default is 2 GiB.

Also refactored the build error / status handling a bit.

Created by  Eelco Dolstra  on March 9, 2016
BG6PEOB2M2Y56QPVMELU7VNNCGNMSQ2K6ATBUCPJLKPLTDWNJQ5AC
Change contents