Fix image viewer not closing when closing Stock app

Fix an issue where ImageViewer was not being destroyed when

Change-Id: Id554b6e7670bd31f1cd30e7d6377434a201c53d0
Don't run ProductCreateWizard for production products

Add a new api for getting the editor class. That way ProductSearch can change
it to the wizard when obj is None, and since ProductionProductSearch overrides
the method, it won't be affected.

Change-Id: I7280322b778bbf5c33785b1d0407aeeb4280c121