Proper support for pending or running builds

`build.duration` isn't populated when the build hasn't finished yet - why not display when the build started instead?