Port of "rename build_events to job_events"
This is a port of https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/11403
Which was redone in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/11396
This is a port of https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/11403
Which was redone in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/11396