Show dependency list when change is needed by another change

In the current implementation the dependency list is opened only when
the change depends on another unmerged change.

This patch changes the behaviour so that the dependency list will also
be opened when the change is needed by (is a dependency of) another
change that is in new or submitted state.

Change-Id: If3009aba59fdbeebe8d1d7d81300894bb47c0daf
1 file changed