associated builds for commit should be destroyed as dependent

Fixes this issue:  https://github.com/gitlabhq/gitlab-ci/issues/511