Activate each IWorkbenchInstance only once.

Certain IBM editors seem to point back to a parent editor. Keep a list
of editor references so that we know if we already handled a given
instance, thus avoiding an endless recursion when navigating child
editors.

Fixes #569.