listeners/jenkins: update job status before emitting in checkPushJob
listeners/github: correct status param
libraries/db: update updatePushJobStatus & updatePRJobStatus w/ callback args

This is an attempt in making job state transitions -> DB update -> event emission
into a single atomic action.

This also prepares the logic to be transformed into promises.