state -> status, generalize build result callback
clean up build status lifecycle, handle 'started'

no longer represented as integers internally. also, the build stays in
'pending' state until the started callback is received from prole.