BUG: DicomWidgets - Do not assume that the extensions manager exists
Created by: vovythevov
Since Slicer may not be built with the extension manager enabled, qSlicerCoreApplication::extentionsManagerModel may not exists (it's surrounded by #ifdef Slicer_BUILD_EXTENSIONMANAGER_SUPPORT).