LPS-42611 Introduce the method getDefault() to get the default view of a LayoutTypePortletImpl
LPS-42611 When in a customized view, hasPortletId() was returning true if the portlet was in the default view not letting the user add it again after removing it.

To avoid this, before checking for preferences check if the portlet was in the default view and if so return false directly.
LPS-42611 SF