Hide builds from Project's settings when the feature is disabled (EE)
Resolves https://gitlab.com/gitlab-org/gitlab-ce/issues/13944
This MR compatible with EE. The https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3220 will not merge properly.