provide customViewerRegistry to enable extension developers to add CustomViewers
review feedback
 register ImageViewer more elegantly.
Merge pull request #6172 from adobe/couzteau/custom-viewer-registry

customViewer API: Registry to enable extension developers to add CustomViewers