UP-4088:  Enhance validation on portlet type selection

This is a re-take on pull #313:  https://github.com/Jasig/uPortal/pull/313