JBIDE-10588 : gracefully handle missing portlet plugin

Signed-off-by: Fred Bricon <fbricon@gmail.com>
JBIDE-13739 : allow CDI support to be disabled

Signed-off-by: Fred Bricon <fbricon@gmail.com>