Build step to set Github commit status as "pending"

add new build step which marks the relevant commit as “pending” using the github status api.

fixed webhook login to work with github enterprise, enabling calls to status api to succeed for both pending and final build statuses
@afex ,
Could you implement null checks for the return values?
After that, the PR can be merged IMO