Unify build and step status codes

Also remove the obsolete status code 5 from the database.

Created by  Eelco Dolstra  on March 9, 2016
UNVMKJV5VX74A2MLS42AP3SY25HKQSH4S27Y44QFKRQRKPU2MV6QC
Dependencies
In channels
upstream
main
Change contents