Add ArtifactBuild.rebuild_reason column.
This new column shows the reason why the artifact is rebuilt. This
is useful to decide if the artifact is directly affected by some
change which triggered the rebuild, or if it is pulled-in just
as a dependency to rebuild other artifact.