[bug 446323] Plug-in Discovery wizard should retrieve the catalog only
if the registry tab is visible

adds a current tab check to setVisible and registers a listener to
TabFolder to retrieve the catalog when the registry tab is selected.

Signed-off-by: Gorkem Ercan <gorkem.ercan@gmail.com>