This change makes the topic link behavior similar to the behavior
branch link, which only shows the same status of changes for the
target branch. However when querying for new changes, it is also
useful to see what has already been done in the given topic. When
looking searching for changes of the same topic from a merged change
it is also useful to see what is still pending.
So in case of {NEW, MERGED} changes we search for both states.
Change-Id: I86f091d6afefbb4bef8bd24245edb64bb9a16f53