Add dynamic reconfiguration.

When SIGHUP is received, trigger events are queued only,
we wait for all builds to complete, re-load the configuration,
then continue.

Initial configuration is now performed the same way, to
make sure it gets exercised.

Change-Id: I41198b6dc9f176c8e57cd4a10ad00e4b7480e1d1
2 files changed