All repositories now have a monotonically increasing build number.

This is for #677 

All repos now store a monotonically increasing build number. 
The build number assigned to a commit is stored so it is stable across rebuilds.
Changed CI_BUILD_NUMBER to expose the repo's build number
Added DRONE_BUILD_NUMBER for parity